TPTBusiness
|
af27850bc6
|
feat: Beautiful CLI dashboard + corrected start command
New features:
1. CLI Dashboard (rdagent/log/ui/predix_dashboard.py)
- Beautiful terminal UI with Rich library
- Live progress bar for Loop/Step
- Live Macro Data (EURUSD, DXY, Volatility)
- Session info with recommendation
- Statistics (Win-Rate, PnL, Success/Fail)
- Recent factors list
- Auto-refresh every 5 seconds
Start: rdagent fin_quant --cli-dashboard
2. CLI extension (rdagent/app/cli.py)
--with-dashboard/-d: Web Dashboard
--cli-dashboard/-c: CLI Dashboard
Both combinable: rdagent fin_quant -d -c
3. Start scripts updated:
- start_trading.sh: Interactive with dashboard selection
- start_loop.sh: Endless loop with auto-restart
Corrected start command for endless loop:
cd ~/Predix && conda activate rdagent && ./start_loop.sh
4. Dashboard URLs:
- Web: http://localhost:5000/dashboard.html
- CLI: rdagent fin_quant -c
All modules tested and integrated!
|
2026-04-02 19:21:08 +02:00 |
|