From 0486e8c93f9b300ad6b5dec4c80c502d185bcef1 Mon Sep 17 00:00:00 2001 From: ramseshk <45832522+ramseshk@users.noreply.github.com> Date: Mon, 10 Aug 2026 12:38:31 +0800 Subject: [PATCH] feat: VBT overview + light mode + /api/vbt/summary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- dashboard/static/vbt.html | 337 +++++++++++++++++--------------------- 1 file changed, 150 insertions(+), 187 deletions(-) diff --git a/dashboard/static/vbt.html b/dashboard/static/vbt.html index 5964d1d..7bee568 100644 --- a/dashboard/static/vbt.html +++ b/dashboard/static/vbt.html @@ -1,98 +1,102 @@ - + FTDT Quant Lab — VBT Dashboard

FTDT QUANT LAB — VBT

-
Hyperliquid · VectorBT
+
+
639 results · Hyperliquid
+ +
- - - + + +
@@ -184,7 +180,7 @@ select:focus{outline:none;border-color:#555}
-
+
Loading...
-
OVERVIEWLoading...
+
OVERVIEWLoading...