Bottom bar
Trading Panel, Strategy Tester, Notes, and screeners — the workbench drawer below the chart.
The bottom bar is a docked drawer with a thin tab strip. Pick a tab, the drawer expands. The same drawer hosts every panel that needs horizontal real estate — trading, screening, strategy testing, notes.
Quick example
How it works
The strip surfaces six default tabs:
- Trading Panel — order ticket, positions, account state. Wired
through the
Brokercontract. - Strategy Tester — backtest a strategy and inspect the equity curve. Phase 2 — see reference/roadmap.
- Stock Screener — multi-symbol filterable table.
- Crypto Screener — same surface, different default columns.
- Forex Screener — same surface, currency-pair columns.
- Notes — per-chart markdown notes, persisted via the persistence layer.
Tabs are addressable by id — setBottomTab('trading-panel') works
the same as clicking the tab. Closing the drawer is
setBottomTab(null).
The drawer height is --bottom-drawer-h; the strip height when
collapsed is --bottombar-h. Both vw-clamped.
Variations
Open Trading Panel on first paint
Hide the drawer entirely
API
| Tab | id | Notes |
|---|---|---|
| Trading Panel | 'trading-panel' | Needs broker prop (Phase 2) |
| Strategy Tester | 'strategy-tester' | Phase 2 |
| Stock Screener | 'screener-stock' | Driven by datafeed |
| Crypto Screener | 'screener-crypto' | Driven by datafeed |
| Forex Screener | 'screener-forex' | Driven by datafeed |
| Notes | 'notes' | Persisted via useChartStore.notes |