feat: add 5 dashboard features — dark mode, trade history, backtests, model insights, alerts
- Dark mode: class-based theme toggle with localStorage persistence and flash prevention - Trade History (/trades): paginated table, stats cards, equity curve chart with DB API endpoints - Backtest Viewer (/backtests): log parser for 35 backtest results, sidebar + detail + comparison tabs - Model Insights: dashboard card + dialog showing feature importance, regime distribution, training history - Alert/Signal Log (/alerts): signal stats, filterable table with execution tracking - API: 8 new endpoints with psycopg2 DB connection pool - Dark mode sweep across books page, about dialog, and all dashboard components - Architecture docs rewritten with Mermaid diagrams (23 docs) - README and FEATURES.md rewritten bilingual (Indonesian + English) - main_live.py: write model_metrics.json on startup and retrain Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
b2dc2dacd7
commit
e8355b3f62
@@ -0,0 +1,29 @@
|
||||
================================================================================
|
||||
XAUBOT AI — SMC + H4 Zone Filter (SL unchanged)
|
||||
================================================================================
|
||||
Generated: 2026-02-07 10:57:10
|
||||
Period: 2025-08-01 to 2026-02-07
|
||||
|
||||
--- H4 ZONE FILTER STATS ---
|
||||
Total filtered: 7040
|
||||
BUY filtered: 4176
|
||||
SELL filtered: 2864
|
||||
Trades in OB zone: 0
|
||||
Trades in FVG zone: 0
|
||||
|
||||
--- PERFORMANCE ---
|
||||
Trades: 0 | Wins: 0 | Losses: 0
|
||||
Win Rate: 0.0% | PF: 0.00
|
||||
Net PnL: $0.00 | Sharpe: 0.00
|
||||
Max DD: 0.0% ($0.00)
|
||||
Avg Win: $0.00 | Avg Loss: $0.00
|
||||
|
||||
--- EXIT REASONS ---
|
||||
|
||||
--- DIRECTION ---
|
||||
BUY: 0 trades
|
||||
SELL: 0 trades
|
||||
|
||||
--- H4 ZONE TYPE ---
|
||||
OB : 0 trades, 0.0% WR, $0.00
|
||||
FVG : 0 trades, 0.0% WR, $0.00
|
||||
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
================================================================================
|
||||
XAUBOT AI — SMC + H4 Zone Filter (SL unchanged)
|
||||
================================================================================
|
||||
Generated: 2026-02-07 11:27:09
|
||||
Period: 2025-08-01 to 2026-02-07
|
||||
|
||||
--- H4 ZONE FILTER STATS ---
|
||||
Total filtered: 6983
|
||||
BUY filtered: 4140
|
||||
SELL filtered: 2843
|
||||
Trades in OB zone: 3
|
||||
Trades in FVG zone: 4
|
||||
|
||||
--- PERFORMANCE ---
|
||||
Trades: 7 | Wins: 6 | Losses: 1
|
||||
Win Rate: 85.7% | PF: 3.38
|
||||
Net PnL: $79.81 | Sharpe: 8.73
|
||||
Max DD: 0.7% ($33.60)
|
||||
Avg Win: $18.90 | Avg Loss: $33.60
|
||||
|
||||
--- EXIT REASONS ---
|
||||
trailing_sl : 6 (85.7%)
|
||||
max_loss : 1 (14.3%)
|
||||
|
||||
--- DIRECTION ---
|
||||
BUY: 5 trades, 100.0% WR, $83.30
|
||||
SELL: 2 trades, 50.0% WR, $-3.49
|
||||
|
||||
--- H4 ZONE TYPE ---
|
||||
OB : 3 trades, 66.7% WR, $13.30
|
||||
FVG : 4 trades, 100.0% WR, $66.51
|
||||
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
================================================================================
|
||||
XAUBOT AI — SMC + H4 Zone Filter (SL unchanged)
|
||||
================================================================================
|
||||
Generated: 2026-02-07 11:55:28
|
||||
Period: 2025-08-01 to 2026-02-07
|
||||
|
||||
--- H4 ZONE FILTER STATS ---
|
||||
Total filtered: 6850
|
||||
BUY filtered: 4055
|
||||
SELL filtered: 2795
|
||||
Trades in OB zone: 6
|
||||
Trades in FVG zone: 16
|
||||
|
||||
--- PERFORMANCE ---
|
||||
Trades: 22 | Wins: 18 | Losses: 4
|
||||
Win Rate: 81.8% | PF: 4.60
|
||||
Net PnL: $361.45 | Sharpe: 8.34
|
||||
Max DD: 0.9% ($46.98)
|
||||
Avg Win: $25.65 | Avg Loss: $25.08
|
||||
|
||||
--- EXIT REASONS ---
|
||||
trailing_sl : 12 (54.5%)
|
||||
breakeven_exit : 3 (13.6%)
|
||||
early_cut : 2 (9.1%)
|
||||
smart_tp : 2 (9.1%)
|
||||
peak_protect : 1 (4.5%)
|
||||
take_profit : 1 (4.5%)
|
||||
max_loss : 1 (4.5%)
|
||||
|
||||
--- DIRECTION ---
|
||||
BUY: 16 trades, 81.2% WR, $154.66
|
||||
SELL: 6 trades, 83.3% WR, $206.79
|
||||
|
||||
--- H4 ZONE TYPE ---
|
||||
OB : 6 trades, 83.3% WR, $90.05
|
||||
FVG : 16 trades, 81.2% WR, $271.40
|
||||
Binary file not shown.
Reference in New Issue
Block a user