条件单未触发至周四23:00自动取消,下发/取消/开仓均推企业微信。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-06 16:45:19 +08:00
parent a957946cfd
commit 474e0742f7
2 changed files with 127 additions and 18 deletions
+6 -1
View File
@@ -358,7 +358,12 @@ def register_hub_bridge_routes(app: Flask, app_module: Any) -> None:
conn = cfg["get_db"]()
try:
init_options_tables(conn)
out = create_cond_order(conn, data)
out = create_cond_order(
conn,
data,
send_wechat=cfg.get("send_wechat"),
account_label=str(cfg.get("account_label") or ""),
)
out["version"] = 1
return jsonify(out)
finally: