Skip to content

Align chart depth profile with price scale - #245

Merged
jackhai9 merged 1 commit into
mainfrom
codex/fix-depth-profile-coordinates
Sep 1, 2026
Merged

jackhai9 merged 1 commit into
mainfrom
codex/fix-depth-profile-coordinates

Conversation

@jackhai9

@jackhai9 jackhai9 commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • clip the depth profile to the TradingView main price pane
  • map depth levels and the latest-trade divider through the active TradingView scale
  • hide the profile in Basic and native Depth modes when no verified coordinate contract exists

Validation

  • node --test test/dom/binance-orderbook-trade/depth-profile.test.js
  • npm test
  • npm run build:binance-orderbook-trade
  • npm run check:binance-orderbook-trade
  • git diff --check
  • live CDP verified main pane geometry, logarithmic mapping, latest-trade source, and coordinate round-trip

@jackhai9
jackhai9 merged commit 50d8dec into main Sep 1, 2026
1 check passed
@jackhai9
jackhai9 deleted the codex/fix-depth-profile-coordinates branch September 1, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant