scripts/dashboard.py prints a one-shot trading summary to the terminal. It reads state.json, trade_log.csv, logs/trades.csv, and blocked_signals.csv to give a live snapshot of the bot’s performance.
Usage
CLI flags
| Flag | Default | Description |
|---|---|---|
--full | false | Show per-trade log and complete block reasons list |
--today | false | Filter to today’s trades (respects timezone.offset_hours in config.json) |
Sample output
Log files read
| File | Used for |
|---|---|
state.json | Circuit breaker state, daily counters |
logs/trades.csv | Rich structured trade log (primary) |
trade_log.csv | Fallback simple trade log |
blocked_signals.csv | Block reason aggregation |
models/ensemble_btcusd-live_metadata.json | Model version info |