main cleanup

This commit is contained in:
Dobromir Popov
2025-09-30 23:56:36 +03:00
parent 468a2c2a66
commit 608da8233f
52 changed files with 5308 additions and 9985 deletions

View File

@@ -45,19 +45,31 @@ training:
use_only_real_data: true # CRITICAL: Never change this
```
### 3. Train CNN Model (Real Data Only)
### 3. Launch Real-time Dashboard & Training
```bash
python main_clean.py --mode cnn --symbol ETH/USDT
# Full system with live training
python main_dashboard.py --port 8051
# Dashboard only (no training)
python main_dashboard.py --port 8051 --no-training
```
### 4. Train RL Agent (Real Data Only)
### 4. Run Backtesting & Bulk Training
```bash
python main_clean.py --mode rl --symbol ETH/USDT
# 30-day backtest
python main_backtest.py --start 2024-01-01 --end 2024-01-31
# Custom symbol and window
python main_backtest.py --start 2024-01-01 --end 2024-12-31 --symbol BTC/USDT --window 48
```
### 5. Launch Web Dashboard
### 5. Unified Training Runner
```bash
python main_clean.py --mode web --port 8050
# Realtime training for 4 hours
python training_runner.py --mode realtime --duration 4
# Backtest training
python training_runner.py --mode backtest --start-date 2024-01-01 --end-date 2024-12-31
```
## Architecture