The Charts tab
The Charts tab is a persistent charting workspace built on klinecharts: pick any instrument in your catalog, study it with drawings and indicators, optionally overlay a strategy’s entries and exits, and save the whole workspace to return to later. It reads the same local bars every backtest uses, so what you see is exactly what the engine sees.
What’s in a chart
Section titled “What’s in a chart”- Symbol + timeframe — a searchable catalog picker (equities and crypto, with a crypto chip) and the shared timeframe list; a time-range control windows how many bars are fetched.
- Drawings — annotate the chart (e.g. rectangles, editable text); delete a single drawing without clearing the rest.
- Indicators — overlay technical indicators, with their parameters.
- Strategy overlay — pick a registered strategy and the chart runs a preview backtest and marks its entries/exits on the candles, so you can see where a strategy would have traded on this symbol. (Distinct from a full backtest run — it’s a visual preview.)
- A context strip and a sidebar list every saved chart.
Saving & persistence
Section titled “Saving & persistence”Each workspace persists to the saved_charts table (see database) —
symbol, timeframe, drawings, indicators, and the optional strategy/backtest. The tab is backed by a
small CRUD API:
| Method | Path | Purpose |
|---|---|---|
GET |
/api/charts |
List saved charts. |
POST |
/api/charts |
Create a chart. |
GET |
/api/charts/{id} |
Load one. |
PUT |
/api/charts/{id} |
Update (drawings, indicators, strategy, …). |
DELETE |
/api/charts/{id} |
Delete. |
See the generated REST API reference for the exact schemas.
Related
Section titled “Related”- The data catalog — the bars the chart draws. · Ingestion — getting those bars. · Backtesting — a full run vs. the chart’s preview overlay. · UI tour.