移除全部对冲计划模块: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:
dekun
2026-09-30 23:20:21 +08:00
parent 8a62cfbb48
commit 0acba5e351
32 changed files with 11330 additions and 21601 deletions
+1 -1
View File
@@ -704,7 +704,7 @@ class SimBroker:
expiry_ms_from_inst_id,
option_fields_from_inst_id,
)
from lib.hedge_plan.hedge_plan_calc_lib import option_expiry_pnl
from lib.options.options_pricing_lib import option_expiry_pnl
now = int(now_ms if now_ms is not None else time.time() * 1000)
settled: list[dict[str, Any]] = []