Fix semi open stalls: one-leg asks, OTM realign, clearer pick errors.

Monitor no longer shows ATM Put bias while semi-auto is authorized for Call.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-08 14:43:00 +08:00
parent 4db1e0c470
commit f1e3d5527a
5 changed files with 117 additions and 16 deletions
+11 -3
View File
@@ -1238,9 +1238,17 @@ class StrategyEngine:
return
except Exception:
pass
self._set_state(
last_error="无合格期权:需剩余时长、杠杆(及已开启的ATM偏差)同时满足"
)
pick_why = None
try:
pick_why = get_session().last_pick_fail_reason()
except Exception:
pick_why = None
if pick_why:
self._set_state(last_error=f"无合格期权:{pick_why}")
else:
self._set_state(
last_error="无合格期权:需剩余时长、杠杆(及已开启的ATM偏差)同时满足"
)
return
# 半自动:选约异步窗口后再次确认授权,防止取消授权后仍开仓