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
14 lines
379 B
Batchfile
14 lines
379 B
Batchfile
@echo off
|
|
REM QTrade 服务停止脚本
|
|
|
|
echo 正在停止所有 QTrade 服务...
|
|
|
|
taskkill /FI "WINDOWTITLE eq Gateway*" /F 2>nul
|
|
taskkill /FI "WINDOWTITLE eq Core Service*" /F 2>nul
|
|
taskkill /FI "WINDOWTITLE eq Data Service*" /F 2>nul
|
|
taskkill /FI "WINDOWTITLE eq Strategy Engine*" /F 2>nul
|
|
taskkill /FI "WINDOWTITLE eq QMT Adapter*" /F 2>nul
|
|
|
|
echo 所有服务已停止
|
|
pause
|