增加独立的全仓复利开关,与上限开关分离;关闭时隐藏下单模式并拒绝开仓。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6875,6 +6875,10 @@ def render_main_page(page="trade", embed_mode=None):
|
||||
hedge_plan_budget_buffer=float(os.getenv("HEDGE_PLAN_BUDGET_BUFFER") or "0.95"),
|
||||
options_trade_budget=OKX_OPTIONS_TRADE_BUDGET_USDC,
|
||||
options_budget_buffer=float(os.getenv("OKX_OPTIONS_BUDGET_BUFFER") or "0.95"),
|
||||
options_compound_full_enabled=os.getenv(
|
||||
"OKX_OPTIONS_COMPOUND_FULL_ENABLED", "true"
|
||||
).lower()
|
||||
in ("1", "true", "yes", "on"),
|
||||
options_compound_full_cap_enabled=os.getenv(
|
||||
"OKX_OPTIONS_COMPOUND_FULL_CAP_ENABLED", "false"
|
||||
).lower()
|
||||
|
||||
Reference in New Issue
Block a user