Fix tab switching + $100K paper trading capital

Tab IDs now match JavaScript: tab-backtest instead of tab-bt.
Paper trading increased to $100,000 ($10K per strategy, $30K reserve).
Server default paper metrics updated to $100K.
This commit is contained in:
ramseshk
2026-08-04 04:26:38 +00:00
parent f26892f8b2
commit 7a5fdf2f8d
3 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ def read_paper_metrics() -> dict:
return json.load(f)
except (json.JSONDecodeError, IOError):
pass
return {"status": "waiting", "mode": "paper", "strategies": {}, "trades": [], "equity_history": [], "total_pnl": 0, "total_equity": 5000}
return {"status": "waiting", "mode": "paper", "strategies": {}, "trades": [], "equity_history": [], "total_pnl": 0, "total_equity": 100000}
# ═══════════════════════════════════════════════════════════