# ============================================================
# MT5 AI/ML Trading Bot - Enterprise Edition
# requirements.txt — pinned production dependencies
# Compatible: Python 3.10+
# ============================================================

# ── Core ML / RL ────────────────────────────────────────────
--extra-index-url https://download.pytorch.org/whl/cpu
torch==2.13.0+cpu
stable-baselines3==2.5.0
gymnasium==1.0.0
numpy==2.2.6
scipy==1.15.3
scikit-learn==1.6.0
pandas==2.3.3

# ── Technical Analysis ──────────────────────────────────────
TA-Lib==0.7.1

# ── Data Acquisition ────────────────────────────────────────
requests==2.34.2
aiohttp==3.14.3
httpx==0.28.1

# ── MetaTrader 5 ────────────────────────────────────────────
MetaTrader5==5.0.6070; sys_platform == 'win32'
metaapi-cloud-sdk==29.1.1

# ── Database ────────────────────────────────────────────────
psycopg2-binary==2.9.12
sqlalchemy==2.0.51
alembic==1.19.0
redis==8.1.0

# ── Monitoring & Logging ────────────────────────────────────
prometheus-client==0.26.0
structlog==26.1.0
rich==13.9.4
tqdm==4.70.0

# ── Dashboard / API ─────────────────────────────────────────
jinja2==3.1.6
fastapi==0.140.13
uvicorn[standard]==0.52.1

# ── Configuration ───────────────────────────────────────────
python-dotenv==1.2.2
pydantic==2.13.4
pydantic-settings==2.14.2
tomli==2.4.1

# ── Testing ─────────────────────────────────────────────────
pytest==9.1.1
pytest-asyncio==1.4.0
pytest-mock==3.15.1
pytest-cov==7.1.0
hypothesis==6.165.2

# ── DevOps / CI ─────────────────────────────────────────────
optuna==4.9.0
pre-commit==4.6.1
ruff==0.16.1
mypy==2.3.0

# ── Utilities ───────────────────────────────────────────────
python-socketio==4.6.1
python-dateutil==2.9.0.post0
nest-asyncio==1.6.0
pytz==2026.3.post1
click==8.4.2
tabulate==0.10.0
joblib==1.5.3
python-telegram-bot==22.8
psutil==7.2.2
