41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# AlphaGPT MT5 - Python Dependencies
|
|
# Python 3.10+ required (recommended: 3.11)
|
|
#
|
|
# Installation:
|
|
# pip3 install -r requirements.txt
|
|
# # Or use: pip install -r requirements.txt (if pip points to Python 3)
|
|
|
|
# ===== Core Dependencies (Required for main pipeline) =====
|
|
|
|
# Deep Learning & Numerical Computing
|
|
torch>=2.0.0 # PyTorch for model training and inference
|
|
numpy>=1.24.0 # Numerical operations
|
|
|
|
# Data Processing
|
|
pandas>=2.0.0 # Data manipulation and analysis
|
|
|
|
# MT5 Trading Platform
|
|
MetaTrader5>=5.0.45 # MetaTrader 5 Python API for data and order execution
|
|
|
|
# Environment & Configuration
|
|
python-dotenv>=1.0.0 # Load .env files
|
|
|
|
# Logging & Progress
|
|
loguru>=0.7.0 # Structured logging
|
|
tqdm>=4.66.0 # Progress bars
|
|
|
|
# Training Web UI
|
|
fastapi>=0.110.0
|
|
uvicorn[standard]>=0.27.0
|
|
python-multipart>=0.0.9 # FastAPI UploadFile 隐含依赖
|
|
pyarrow>=14.0.0 # pandas 读写 Parquet 必需引擎
|
|
|
|
# ===== Optional Dependencies (For experimental scripts) =====
|
|
# See requirements-optional.txt for:
|
|
# - matplotlib, seaborn (for lord/experiment.py visualization)
|
|
# - tushare (for times.py Chinese stock market data)
|
|
#
|
|
# Install tip (Chinese Windows): prefer
|
|
# python -m pip install -r requirements.txt
|
|
# over bare `pip` (avoids pip-shim GBK encoding issues).
|