fix: 三级语义——贴近成本(<2%)的触发改称成本线/阻力位提醒,爱博医疗类平本触发不再误称止盈

This commit is contained in:
hmo
2026-07-29 10:01:00 +08:00
parent 5e689327c7
commit 910b1d521a
+2
View File
@@ -1649,6 +1649,8 @@ def check_strategy_outcomes(conn):
""", (price, _reason, pnl_pct, tid))
if _real_pnl is not None and _real_pnl <= 0:
print(f" [TRACK] {code} v{tid} 反弹减仓位! {price}{tp},成本{_cost},浮亏{_real_pnl}%(减仓窗口,非止盈)", flush=True)
elif _real_pnl is not None and _real_pnl < 2:
print(f" [TRACK] {code} v{tid} 成本线/阻力位! {price}{tp},成本{_cost}(贴近成本+前高阻力,决策点非止盈)", flush=True)
elif _real_pnl is not None:
print(f" [TRACK] {code} v{tid} 止盈! {price}{tp} 实际盈利+{_real_pnl}%(成本{_cost}", flush=True)
else: