fix(dashboard): label 30d Performance tile as 'live net P&L (real trades only)'

Clarifies that the homepage Performance tile reflects only real-money trades
(backend /performance now excludes paper by default). Prevents a paper-only
user from being confused by a $0 headline.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
k
2026-05-30 03:04:38 +08:00
parent 7368b20318
commit f8805f5ba6
+1 -1
View File
@@ -403,7 +403,7 @@ export default function DashboardClient({ initialPosts }: Props) {
<section className="overview-stat-card accent">
<div className="overview-kicker">Performance</div>
<div className="overview-stat-value">{hasPerformanceData ? `${netPnl >= 0 ? '+$' : '-$'}${Math.abs(netPnl).toLocaleString('en-US', { maximumFractionDigits: 0 })}` : '—'}</div>
<div className="overview-stat-label">{hasPerformanceData ? '30d bot net P&L' : 'Load settings once to unlock private performance'}</div>
<div className="overview-stat-label">{hasPerformanceData ? '30d live net P&L (real trades only)' : 'Load settings once to unlock private performance'}</div>
</section>
</div>
</div>