diff --git a/dashboard/src/components/meetKevin/TickerScorecardTable.tsx b/dashboard/src/components/meetKevin/TickerScorecardTable.tsx index 1943fdd..1ea1641 100644 --- a/dashboard/src/components/meetKevin/TickerScorecardTable.tsx +++ b/dashboard/src/components/meetKevin/TickerScorecardTable.tsx @@ -50,17 +50,14 @@ export function TickerScorecardTable({ tickers, isLoading, onClose }: Props) { Conviction - Price + Horizon - P&L + Entry Status - - Mentions - Last seen @@ -70,12 +67,11 @@ export function TickerScorecardTable({ tickers, isLoading, onClose }: Props) { {tickers.map((t) => { const badge = t.bridge_status ? BRIDGE_BADGE[t.bridge_status] : null; - const pnl = t.unrealized_pnl_pct; return ( ${t.symbol} - {t.is_held && ( + {t.has_open_trade && ( HOLDING @@ -94,20 +90,12 @@ export function TickerScorecardTable({ tickers, isLoading, onClose }: Props) { + {t.latest_horizon} - {t.current_price != null - ? `$${t.current_price.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 })}` + {t.trade_entry_price != null + ? `$${t.trade_entry_price.toLocaleString('en-US', { minimumFractionDigits: 2, maximumFractionDigits: 2 })}` : '—'} - - {pnl != null ? ( - = 0 ? 'text-green-400' : 'text-red-400'}> - {pnl >= 0 ? '+' : ''}{pnl.toFixed(2)}% - - ) : ( - - )} - {badge ? ( @@ -117,12 +105,13 @@ export function TickerScorecardTable({ tickers, isLoading, onClose }: Props) { )} - {t.mention_count} - {new Date(t.last_mention_at).toLocaleDateString()} + {t.latest_mention_at + ? new Date(t.latest_mention_at).toLocaleDateString() + : '—'} - {t.is_held && ( + {t.has_open_trade && (