Stop deploy from overwriting manual FORCE_CLOSE settings.
Apply force-close defaults only when keys are missing so system-settings toggles survive pull_and_restart. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -19,7 +19,7 @@ git pull
|
||||
echo ">>> sync common trading env (binance + okx missing keys)"
|
||||
python3 scripts/sync_common_trading_env.py "${DRY[@]}"
|
||||
|
||||
echo ">>> force-close policy: gate=ON, binance/okx=OFF"
|
||||
echo ">>> force-close defaults only if missing (never overwrite manual)"
|
||||
python3 scripts/sync_common_trading_env.py --apply-force-close-policy "${DRY[@]}"
|
||||
|
||||
if [[ ${#DRY[@]} -gt 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user