feat(dashboard): add Cash Disponible card to metrics grid
CI/CD / build-and-push (push) Successful in 11s

Shows /api/summary cash_available (now consistent with the executor's cash
model) next to Capital Deployed, with its share of bankroll as subtitle and
progress bar.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
chemavx
2026-06-11 17:33:56 +00:00
co-authored by Claude Fable 5
parent 7ebb87aede
commit c5ffc37820
+6
View File
@@ -216,6 +216,12 @@ export default function App() {
value={fmtUSD(summary.total_deployed)} value={fmtUSD(summary.total_deployed)}
subtitle={`${summary.total_trades} trades`} subtitle={`${summary.total_trades} trades`}
/> />
<MetricCard
title="Cash Disponible"
value={fmtUSD(summary.cash_available)}
subtitle={`${fmtPct(summary.cash_available / summary.paper_bankroll)} del bankroll`}
progress={summary.cash_available / summary.paper_bankroll}
/>
</div> </div>
{/* Performance chart */} {/* Performance chart */}