From 910b1d521a9cb48ff1d2cedf11020cc6a2423f01 Mon Sep 17 00:00:00 2001 From: hmo Date: Wed, 29 Jul 2026 10:01:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=89=E7=BA=A7=E8=AF=AD=E4=B9=89?= =?UTF-8?q?=E2=80=94=E2=80=94=E8=B4=B4=E8=BF=91=E6=88=90=E6=9C=AC(<2%)?= =?UTF-8?q?=E7=9A=84=E8=A7=A6=E5=8F=91=E6=94=B9=E7=A7=B0=E6=88=90=E6=9C=AC?= =?UTF-8?q?=E7=BA=BF/=E9=98=BB=E5=8A=9B=E4=BD=8D=E6=8F=90=E9=86=92?= =?UTF-8?q?=EF=BC=8C=E7=88=B1=E5=8D=9A=E5=8C=BB=E7=96=97=E7=B1=BB=E5=B9=B3?= =?UTF-8?q?=E6=9C=AC=E8=A7=A6=E5=8F=91=E4=B8=8D=E5=86=8D=E8=AF=AF=E7=A7=B0?= =?UTF-8?q?=E6=AD=A2=E7=9B=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/mofin_db.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/profile-scripts/mofin_db.py b/deploy/profile-scripts/mofin_db.py index 98318e1c..c31f664a 100644 --- a/deploy/profile-scripts/mofin_db.py +++ b/deploy/profile-scripts/mofin_db.py @@ -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: