# 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.233

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

# Data & Feature Handling
joblib>=1.6.0

# Visualization / Local API Support
flask>=3.1.3
fastapi>=0.163.1
uvicorn>=0.29.0
aiofiles>=23.0

# Utilities
python-dotenv>=1.2.2
pyyaml>=6.0
requests>=2.33.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.3.8

# The `av` CLI retraining commits candidates with, and tests/test_vault_contract.py runs for real (V6.6.0, Problems.md #271).
# 1.7.0 first kept model.pt and scaler.pkl in a commit under this repo's .gitignore and added `av restore`; 1.7.1 lets a queued commit the server already took leave the queue.
aether-vault==1.7.1
