0486e8c93f
dashboard/static/vbt.html — complete rewrite:
- CSS variables for theming (--bg, --text, --blue, etc.)
- Light mode toggle (☀/☾) persisted in localStorage
- Plotly charts update colors on theme switch
- Overview panel on load: strategy cards + heatmap
- Strategy cards: best Sharpe, best return, top combo,
+Sharpe %, run count. Click to filter.
- Heatmap: color-coded strategy×interval table
(green>2, green>0.5, yellow>0, orange>-0.5, red)
- Back-to-overview button on detail view
- Default sort: Sharpe (was date)
dashboard/server.py:
- New /api/vbt/summary endpoint:
Per-strategy best (Sharpe, Return, Calmar, trades,
positive-Sharpe %, top combo)
Heatmap: strategy×interval best Sharpe matrix
Tests: 241 passing (excl. Hawkes)