# ==============================================
# 加密货币预测系统依赖
# Python 3.12 | 支持 macOS (MPS) 和 Windows (CPU)
# ==============================================

# ----------------------------------------------
# PyTorch (根据平台安装)
# ----------------------------------------------
# macOS: pip install torch torchvision torchaudio
# Windows CPU: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
torch>=2.0.0
torchvision>=0.15.0
torchaudio>=2.0.0
pytorch-lightning>=2.0.0
torchmetrics>=1.0.0

# ----------------------------------------------
# 数据处理
# ----------------------------------------------
pandas>=2.0.0
numpy>=1.24.0
scikit-learn>=1.3.0
pytz

# ----------------------------------------------
# 时序模型
# ----------------------------------------------
# IBM Granite TTM-R2 (PyPI 包名: granite-tsfm)
granite-tsfm>=0.3.0
# GluonTS 时序工具
gluonts[torch]>=0.14.0

# ----------------------------------------------
# 技术指标
# ----------------------------------------------
pandas-ta>=0.3.14b

# ----------------------------------------------
# ONNX 模型导出
# ----------------------------------------------
onnx>=1.14.0
onnxruntime>=1.15.0

# ----------------------------------------------
# API 服务
# ----------------------------------------------
fastapi>=0.104.0
uvicorn[standard]>=0.24.0
pydantic>=2.0.0
python-multipart>=0.0.6

# ----------------------------------------------
# HTTP 客户端
# ----------------------------------------------
httpx>=0.25.0

# ----------------------------------------------
# 数据源
# ----------------------------------------------
python-binance>=1.0.19

# ----------------------------------------------
# 任务调度
# ----------------------------------------------
schedule>=1.2.0

# ----------------------------------------------
# 数据库
# ----------------------------------------------
pymysql>=1.1.0
sqlalchemy>=2.0.0
cryptography>=41.0.0

# ----------------------------------------------
# 环境变量
# ----------------------------------------------
python-dotenv>=1.0.0

# ----------------------------------------------
# 开发工具 (可选)
# ----------------------------------------------
jupyter>=1.0.0
matplotlib>=3.7.0
seaborn>=0.12.0
pytest>=7.4.0
tqdm>=4.66.0

# ----------------------------------------------
# Polymarket 交易 (可选，需要手动安装)
# ----------------------------------------------
# pip install py-clob-client
