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:
@@ -403,7 +403,7 @@ export default function DashboardClient({ initialPosts }: Props) {
|
|||||||
<section className="overview-stat-card accent">
|
<section className="overview-stat-card accent">
|
||||||
<div className="overview-kicker">Performance</div>
|
<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-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>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user