Notify funds short once; check trading only; drop duplicate plan title.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-29 18:07:59 +08:00
parent 6be46a1126
commit a5945f0837
4 changed files with 42 additions and 50 deletions
-5
View File
@@ -114,11 +114,6 @@ class StrategyEngine:
"funds_ok": False,
"leverage": leverage,
}
if open_cap.get("perp_can_open") is False or open_cap.get("option_can_open") is False:
try:
maybe_notify_funds_short(open_cap)
except Exception:
pass
return {
"running": bool(row["running"]),
"phase": row["phase"],