Episode terminates on 30% drawdown or 95% capital loss
Random episode start for diverse training experiences
Quick Start
bash
1# Clone and install2pip install -r requirements.txt
34# Option A: Download real data from Binance5python -m crypto_trading_ai.data.downloader --config config/config.yaml
67# Option B: Generate synthetic data for testing8python -m crypto_trading_ai.data.downloader --config config/config.yaml --synthetic
910# Train (auto-generates synthetic data if no CSV files found)11cd crypto_trading_ai
12python train.py --synthetic
1314# Evaluate / Backtest15python evaluate.py --synthetic --plot
Training on GPU (recommended)
bash
1# The training is designed for GPU acceleration2# On a T4 GPU: ~300 steps/s with default config3# On CPU: ~30 steps/s with reduced config4python train.py --config config/config.yaml