# Lean Runtime / Broker Integrations
ibapi>=9.81

# Phase 4.8 - the Lean CLI itself (distinct from Lean's own repo-root
# requirements.txt, which is what a SPAWNED Lean engine container needs
# installed inside itself). Needed at the image level, not just local dev,
# so retraining/lean_backtest.py::find_lean_binary()/run_lean_backtest()
# can find and invoke `lean backtest` from inside the retraining-worker
# container (docker-compose.yml's retraining-worker service also mounts
# the host Docker socket, since `lean backtest` itself launches a SEPARATE
# Docker container to actually run - see that service's own comment).
lean>=1.0.225

# Machine Learning & Data Processing
torch>=2.0.0
numpy>=1.24.0
pandas>=2.0.0
scikit-learn>=1.3.0

# Data & Feature Handling
joblib>=1.3.0

# Visualization / Local API Support
flask>=3.0.0
fastapi>=0.110.0
uvicorn>=0.29.0
aiofiles>=23.0

# Utilities
python-dotenv>=1.0.0
pyyaml>=6.0
requests>=2.31.0

# data_pipeline/fred_backfill.py - HTTP/2 client (V5.1 Phase 2, CODESPACE
# RUN 1 diagnosis, development/Problems.md). stdlib urllib is HTTP/1.1-only
# and FRED's graph-export endpoint hangs/resets on HTTP/1.1 - see that
# module's docstring for the full finding.
httpx[http2]>=0.27.0

# Experience Queue / Redis Stream (V2-13)
redis>=5.0.0

# PostgreSQL driver — experience worker and future analytics (V2-14)
psycopg[binary]>=3.1
