移除全部对冲计划模块:crypto_okx 改为币本位单独期权执行机。
交易模式锁定 options;okx_trade_mode / 到期盈亏迁入 options;保留期权/桥/关键位/企微与中控预留快照口径。恢复点:backup/before-remove-hedge 与 tag backup-before-remove-hedge-20260930。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ def install_sim_trading(app: Flask, repo_root: str, app_module: Any = None) -> N
|
||||
apply_sim_hooks(app_module)
|
||||
|
||||
# 若 options / hedge 已安装, 补丁其 cfg, 并刷新永续下单引用
|
||||
for key in ("options_cfg", "hedge_plan_cfg"):
|
||||
for key in ("options_cfg",):
|
||||
cfg = app.extensions.get(key)
|
||||
if isinstance(cfg, dict):
|
||||
patch_options_cfg(cfg)
|
||||
|
||||
Reference in New Issue
Block a user