mirror of
https://github.com/multipleof4/KalBot.git
synced 2026-03-17 05:51:02 +00:00
Feat: Include paperByStrategy in state response
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user