修复期权币本位高危缺陷:开仓估量、卖回封顶、握库超时与条件单嵌套锁。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-07 12:00:08 +08:00
parent ea3e029eb9
commit 77fe0fa679
16 changed files with 724 additions and 201 deletions
+2 -2
View File
@@ -843,8 +843,8 @@ class SimBroker:
underlying=uly,
inst_id=inst_id,
)
except Exception:
pass
except Exception as e:
print(f"[sim_expiry_sell] {inst_id}: {e}", flush=True)
settled.append(
{
"inst_id": inst_id,