Update docs for CTP worker split and roll breakout off-session.

Refresh DEPLOY, TRADING, STRATEGY, CTP_LIVE, FEATURES, INDEX, and README to document qihuo-ctp architecture, dual PM2 restarts, and休盘突破加仓.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-01 12:56:27 +08:00
parent 9cd81a3ea7
commit 95156ca595
7 changed files with 130 additions and 43 deletions
+5 -2
View File
@@ -46,9 +46,12 @@ cd /opt/qihuo && bash deploy.sh
cd /opt/qihuo
git fetch origin && git reset --hard origin/main
source venv/bin/activate && pip install -r requirements.txt
pm2 restart qihuo
python scripts/run_schema_migrate.py
pm2 restart ecosystem.config.cjs --update-env
```
生产环境须同时维护 **`qihuo`**Web)与 **`qihuo-ctp`**CTP Worker)两个 PM2 进程。
详见 [部署文档](docs/DEPLOY.md)。
**本地开发**
@@ -69,7 +72,7 @@ python app.py
## 环境要求
- Python 3.10+vnpy_ctp
- PM2(生产部署)
- PM2(生产部署**qihuo** + **qihuo-ctp** 两个进程
- 网络:新浪行情、Git 仓库、SimNow/CTP 前置(见部署文档)
## 仓库