Skip to content

fix(viewer): tradingview charts open on their own view, last candle near the scale - #434

Merged
daggerok merged 1 commit into
mainfrom
fix/tv-default-view
Dec 3, 2026
Merged

daggerok merged 1 commit into
mainfrom
fix/tv-default-view

Conversation

@daggerok

@daggerok daggerok commented Dec 3, 2026

Copy link
Copy Markdown
Owner

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 scale

Why

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 range view fit its span but left about 10 empty candles at the right

Checks

  • bun test: 545 pass (tv-chart test: no range in the config)
  • .claude/tools/etfs/tc/check.sh on the changed files: clean
  • Chrome on localhost:1237, tv.js with PG side by side: range: '2m' leaves about 9-10 empty candles; no range leaves 4-5 for Daily, Weekly and Monthly; paneProperties.rightOffset in overrides changes nothing

@daggerok
daggerok merged commit 71c0eed into main Dec 3, 2026
1 check passed
@daggerok
daggerok deleted the fix/tv-default-view branch December 3, 2026 16:04
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