724b4a3dd8
- 新增 manual_trading_hub/行情区说明.md - 更新使用说明、README、部署文档、常见问题与仓库根 README Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
579 B
Markdown
23 lines
579 B
Markdown
# 更新前快照(行情区 + K 线库)
|
|
|
|
> 行情区使用说明见 [行情区说明.md](./行情区说明.md)。
|
|
|
|
更新前已打 Git 标签,回滚方式:
|
|
|
|
```bash
|
|
cd /opt/crypto_monitor # 或你的仓库路径
|
|
git fetch --tags
|
|
git checkout snapshot/pre-hub-market-20260528
|
|
# 恢复后重启:
|
|
pm2 restart manual-trading-hub crypto_okx crypto_binance crypto_gate crypto_gate_bot
|
|
```
|
|
|
|
回到最新主线:
|
|
|
|
```bash
|
|
git checkout main
|
|
git pull
|
|
```
|
|
|
|
K 线数据库(不纳入 Git):`manual_trading_hub/data/hub_kline.db`,回滚代码不会自动删除该文件。
|