docs: reference unified env sync script in position-sizing guide

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-04 09:59:53 +08:00
parent e6e79215fc
commit 5e694ff795
+3 -2
View File
@@ -36,8 +36,9 @@ FULL_MARGIN_BUFFER_RATIO=0.98
```bash
git pull
# 四所 .env 补全计仓(已有值不覆盖;缺项则 risk + 0.98
python scripts/sync_four_exchange_position_sizing_env.py
# 四所 .env 补全计仓 + 划转(已有值不覆盖)
python scripts/sync_four_exchange_env.py
# 或仅计仓:python scripts/sync_four_exchange_position_sizing_env.py
# 无仓后切换全仓:python scripts/sync_four_exchange_position_sizing_env.py --set-mode full_margin
pm2 restart crypto-monitor-binance crypto-monitor-okx crypto-monitor-gate crypto-monitor-gate-bot
```