diff --git a/dashboard-next/src/components/strategy-card.tsx b/dashboard-next/src/components/strategy-card.tsx index 5fca463..6e5ff11 100644 --- a/dashboard-next/src/components/strategy-card.tsx +++ b/dashboard-next/src/components/strategy-card.tsx @@ -23,6 +23,17 @@ export function StrategyCard({ name, strategy, tab, onClick, badge, stats, pnlPc const isUp = equity >= strategy.allocation; const pnl = strategy.pnl ?? 0; const pnlPctVal = strategy.pnl_pct ?? 0; + // Type colors + const typeColors: Record = { + reversal: "bg-blue-500/20 text-blue-400", + momentum: "bg-amber-500/20 text-amber-400", + stat_arb: "bg-purple-500/20 text-purple-400", + carry: "bg-cyan-500/20 text-cyan-400", + market_making: "bg-emerald-500/20 text-emerald-400", + }; + const typeColor = typeColors[strategy.type] || "bg-gray-500/20 text-gray-400"; + // Asset shorthand + const assetShort = strategy.instrument?.split("-")[0] || ""; return (

{name}

-

- ${strategy.allocation} · {strategy.type} -

+
+ {strategy.type} + {assetShort} +
diff --git a/dashboard/static/index.html b/dashboard/static/index.html index 501290d..85bf9ec 100644 --- a/dashboard/static/index.html +++ b/dashboard/static/index.html @@ -1 +1 @@ -FTDT Quant Lab

FTDT Quant Lab

Live Testnet · Equity $—

OFFLINE
\ No newline at end of file +FTDT Quant Lab

FTDT Quant Lab

Live Testnet · Equity $—

OFFLINE
\ No newline at end of file