Customize the Watchlist
Seed default symbols, sync rows with your app, override the per-row context menu.
The Watchlist sits in the right sidebar and is fully controllable from your app — seed symbols, react to row clicks, sync with external state.
Quick example
How it works
The Watchlist is backed by useChartStore.watchlist — a flat array
of symbol ids. Mutating that array re-renders the panel. Row click
calls setSymbol(id), which updates the chart.
Variations
Sync with an external "favourites" store
Listen for symbol-row clicks
API
| Action | Method |
|---|---|
| Set rows | useChartStore.setWatchlist(ids) |
| Add row | useChartStore.addToWatchlist(id) |
| Remove row | useChartStore.removeFromWatchlist(id) |
| Active row | useChartStore.symbol |