chore: gate-only force-close policy and deploy pull script

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-06 02:32:35 +08:00
parent 3c0c62997f
commit df99eb5fb5
3 changed files with 101 additions and 3 deletions
+10 -1
View File
@@ -111,9 +111,18 @@ python scripts/sync_four_exchange_position_sizing_env.py --set-buffer 0.98
python scripts/sync_common_trading_env.py
python scripts/sync_common_trading_env.py --dry-run
python scripts/sync_common_trading_env.py --instances crypto_monitor_okx
python scripts/sync_common_trading_env.py --apply-force-close-policy
```
补全项含:`RECONCILE_*``PRICE_REFRESH_SECONDS``KEY_*` 门控、`FORCE_CLOSE_*``KEY_SIZING_USE_ZERO_POSITION_SNAPSHOT` 等。
补全项含:`RECONCILE_*``PRICE_REFRESH_SECONDS``KEY_*` 门控、`KEY_SIZING_USE_ZERO_POSITION_SNAPSHOT`**不含** `FORCE_CLOSE_*`,由 `--apply-force-close-policy` 单独处理)
**强制清仓策略**(仅 Gate 开启):
```bash
python scripts/sync_common_trading_env.py --apply-force-close-policy
```
或服务器一键:`bash deploy/pull_and_restart.sh`
---