# ============================================================
# 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.12.0+cpu
stable-baselines3==2.8.0
gymnasium==1.0.0
numpy==1.26.4
scipy==1.15.3
scikit-learn==1.6.1
pandas==2.2.3

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

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

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

# ── Database ────────────────────────────────────────────────
psycopg2-binary==2.9.12
sqlalchemy==2.0.38
alembic==1.14.1
redis==7.4.0

# ── Monitoring & Logging ────────────────────────────────────
prometheus-client==0.21.1
structlog==25.5.0
rich==15.0.0
tqdm==4.67.1

# ── Dashboard / API ─────────────────────────────────────────
jinja2==3.1.6
fastapi==0.136.1
uvicorn[standard]==0.34.0

# ── Configuration ───────────────────────────────────────────
python-dotenv==1.2.2
pydantic==2.13.4
pydantic-settings==2.14.1
tomli==2.2.1

# ── Testing ─────────────────────────────────────────────────
pytest==9.0.3
pytest-asyncio==1.3.0
pytest-mock==3.15.1
pytest-cov==7.1.0
hypothesis==6.152.7

# ── DevOps / CI ─────────────────────────────────────────────
optuna==4.8.0
pre-commit==4.1.0
ruff==0.15.13
mypy==2.1.0

# ── Utilities ───────────────────────────────────────────────
python-socketio==4.6.1
python-dateutil==2.9.0.post0
nest-asyncio==1.6.0
pytz==2026.2
click==8.1.8
tabulate==0.9.0
joblib==1.4.2
python-telegram-bot==21.10
psutil==7.2.2
