Backtrader Tutorial is an open-source Python framework for strategy backtesting, optimization, and live trading research with flexible data feeds. Download Backtrader tutorial to build, test, and ...
User Request (POST /backtest) │ api.py ← FastAPI REST layer, input validation │ ├── fetcher.py ← Downloads OHLCV data from Yahoo Finance → SQLite │ ├── pipeline.py ← Cleans data, detects splits, ...