Repository navigation
fix(viewer): tradingview charts open on their own view, last candle near the scale - #434
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The chart window no longer passes
range(2m, 8m, 33m) to the TradingView widget. Each chart opens, and ↻ redraws it, on TradingView's own view of its interval: about 2.5 months of Daily, 9 months of Weekly, 3.5 years of Monthly, the last candle 4 to 5 candles from the price scaleWhy
Owner 2026-12-03: "we must checge this [about 10 empty candles at the right] when click here [↻] to this [the last candle near the scale]". The
rangeview fit its span but left about 10 empty candles at the rightChecks
bun test: 545 pass (tv-chart test: no range in the config).claude/tools/etfs/tc/check.shon the changed files: cleanrange: '2m'leaves about 9-10 empty candles; no range leaves 4-5 for Daily, Weekly and Monthly;paneProperties.rightOffsetin overrides changes nothing