Commit Graph

2 Commits

Author SHA1 Message Date
ba6b499b70 fix: 完成 OrderSide/SignalSide 到 TradeSide 的全面迁移
- 移除 data_service/services/kline_service.py 中未使用的导入
- 更新 tests/test_core/test_data_download.py 中 get_kline_model 导入
- 替换所有服务中的 OrderSide/SignalSide 为 TradeSide
- 更新 strategy_engine 中的类型注解
- 更新测试文件中的枚举值(BUY/SELL 统一为小写)
- 验证:所有4个服务启动成功(DataService/CoreService/QMTService/StrategyEngine)
2025-12-11 18:29:51 +08:00
085427959c feat: Phase 4-7 - Core Service, Strategy Engine, QMT Adapter, Tests
Phase 4: Core Service (port 8010)
- Pairing management (symbol-strategy pairs)
- Order service with Redis pub/sub
- Position and balance tracking

Phase 5: Strategy Engine (port 8030)
- BaseStrategy abstract class
- Strategy registry and executor
- Built-in strategies: Grid, MA Cross, Dual MA
- Signal manager with Redis integration

Phase 6: QMT Adapter (port 8040)
- XtQuant SDK wrapper with simulation mode
- Order executor listening to Redis channels
- Quote pusher and account syncer

Phase 7: Testing & Documentation
- Pytest fixtures for all services
- Unit tests for models and strategies
- Windows startup scripts
2025-12-09 00:36:27 +08:00