From 894845c9f6f21675095bf8dd88cd87e2e5b3d466 Mon Sep 17 00:00:00 2001 From: OpenSquared Date: Tue, 21 Jul 2026 17:43:03 +0200 Subject: [PATCH] feat: cockpit --- frontend/src/pages/Dashboard.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index 171540c..9191fc5 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -437,15 +437,15 @@ export default function Dashboard() {
{((watchlistQuotesData as any)?.items ?? []).map((it: any) => ( -
- {it.ticker} -
+
+ {it.ticker} +
{fmtPrice(it.price)} - = 0 ? 'text-emerald-400' : 'text-red-400')}> + = 0 ? 'text-emerald-400' : 'text-red-400')}> {it.change_pct != null ? `${it.change_pct >= 0 ? '+' : ''}${it.change_pct.toFixed(2)}%` : '—'} - - {it.volatility_pct != null ? `σ${it.volatility_pct.toFixed(1)}%` : '—'} + + {it.volatility_pct != null ? `${it.volatility_pct.toFixed(1)}%` : '—'} {it.volatility_change_pct != null && Math.abs(it.volatility_change_pct) >= 0.1 && ( 0 ? 'text-orange-400' : 'text-blue-400'}> {' '}{it.volatility_change_pct >= 0 ? '+' : ''}{it.volatility_change_pct.toFixed(1)}