Tune CoinOX env: drop auto-transfer; map leverage to hedge perp opens.

BTC_LEVERAGE/ALT_LEVERAGE now drive永期永续 default leverage in UI and start fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 12:46:14 +08:00
parent 4b1c629d26
commit 4c48c95562
7 changed files with 62 additions and 46 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ DEFAULT_INSTANCE_DISPLAY: dict[str, bool] = {
"show_nav_options": True,
"show_nav_options_review": True,
"show_nav_hedge_plan": True,
"show_settings_transfer": True,
"show_settings_transfer": False, # CoinOX 不需要永续自动划转
"show_settings_export": True,
"show_settings_password": True,
"show_settings_options_swap": False, # CoinOX 已移除 USDT↔USDC 兑换
@@ -87,6 +87,7 @@ def normalize_display_prefs(raw: dict | None) -> dict[str, bool]:
out["show_nav_strategy_records"] = False
out["show_nav_system_guide"] = False
out["show_settings_options_swap"] = False
out["show_settings_transfer"] = False
return out
@@ -138,7 +139,6 @@ def display_meta_for_ui() -> list[dict[str, Any]]:
"show_nav_env_config",
]
settings_keys = [
"show_settings_transfer",
"show_settings_export",
"show_settings_password",
"show_settings_options_transfer",