Files
ftdt-quant-lab/dashboard
ramseshk 0486e8c93f feat: VBT overview + light mode + /api/vbt/summary
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)
2026-08-10 12:38:31 +08:00
..