Setup Create virtualenv: python -m venv venv && source venv/bin/activate Install: pip install -r requirements.txt Files data_fetch.py # download historical OHLCV stream_data.py # (optional) live candle streamer features.py # feature engineering train_model.py # train and save LightGBM model backtest.py # quick backtest dashboard.py # Streamlit UI Typical workflow python data_fetch.py --symbol BTC/USDT --since_days 7 python train_model.py --symbol BTC/USDT python backtest.py --symbol BTC/USDT streamlit run dashboard.py Note Uses Binance REST for historical bars. For production/low-latency, use websocket orderbook streams and Parquet/Arrow storage.