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, ...