Feat: Include paperByStrategy in state response

This commit is contained in:
2026-03-15 16:50:52 -07:00
parent 2cd79d45d1
commit b35fcfe13f

View File

@@ -14,6 +14,7 @@ export async function GET() {
return NextResponse.json({ return NextResponse.json({
market: null, market: null,
paper: { balance: 1000, totalPnL: 0, wins: 0, losses: 0, winRate: 0, openPositions: [], totalTrades: 0 }, paper: { balance: 1000, totalPnL: 0, wins: 0, losses: 0, winRate: 0, openPositions: [], totalTrades: 0 },
paperByStrategy: {},
strategies: [], strategies: [],
workerUptime: 0, workerUptime: 0,
lastUpdate: null, lastUpdate: null,