Badumetsibb commited on
Commit
6f5186e
·
verified ·
1 Parent(s): 4ebffd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ import json
7
  import firebase_admin
8
  from firebase_admin import credentials, db
9
  from datetime import datetime
10
- import numpy as np # Added for color logic
11
 
12
  # --- Configuration ---
13
  # The Firebase DB reference name must match the one used in your agent (App3.txt)
@@ -204,7 +204,7 @@ def update_dashboard():
204
 
205
  return (kpis["total_pnl"], kpis["win_rate"], kpis["total_closed_trades"], kpis["average_pnl"],
206
  equity_plot,
207
- open_ trades_display.iloc[::-1], # Show newest first
208
  closed_trades_display.iloc[::-1], # Show newest first
209
  strategy_plot,
210
  regime_plot,
 
7
  import firebase_admin
8
  from firebase_admin import credentials, db
9
  from datetime import datetime
10
+ import numpy as np
11
 
12
  # --- Configuration ---
13
  # The Firebase DB reference name must match the one used in your agent (App3.txt)
 
204
 
205
  return (kpis["total_pnl"], kpis["win_rate"], kpis["total_closed_trades"], kpis["average_pnl"],
206
  equity_plot,
207
+ open_trades_display.iloc[::-1], # Show newest first
208
  closed_trades_display.iloc[::-1], # Show newest first
209
  strategy_plot,
210
  regime_plot,