docs: document four-exchange env sync script usage

Add docs/env-sync-scripts.md; cross-link from deploy README, feature docs, README, and script headers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-04 10:02:08 +08:00
parent 5e694ff795
commit 02bc3c14bc
8 changed files with 174 additions and 25 deletions
+2
View File
@@ -10,6 +10,8 @@
子脚本可单独运行:
python scripts/sync_four_exchange_position_sizing_env.py
python scripts/sync_four_exchange_transfer_env.py
完整说明见 docs/env-sync-scripts.md
"""
from __future__ import annotations
@@ -10,6 +10,8 @@
切换 POSITION_SIZING_MODE 须在交易所无持仓后执行,并 pm2 restart 对应实例。
不修改 API 密钥与其它自定义项;若 .env 不存在则跳过(请先从 .env.example 复制)。
完整说明见 docs/env-sync-scripts.md
"""
from __future__ import annotations
@@ -9,6 +9,8 @@
python scripts/sync_four_exchange_transfer_env.py --enable-auto-transfer
不修改 API 密钥与其它自定义项;若 .env 不存在则跳过(请先从 .env.example 复制)。
完整说明见 docs/env-sync-scripts.md
"""
from __future__ import annotations