From 77150c37d0821590a10eafa4d08c9a76dc339ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E5=BE=AE?= Date: Thu, 9 Jul 2026 10:45:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20price=5Fmonitor=E4=B9=B0=E5=85=A5?= =?UTF-8?q?=E6=8F=90=E9=86=92=E6=94=B9=E4=B8=BA=F0=9F=94=94=E9=80=9A?= =?UTF-8?q?=E7=9F=A5(=E9=9D=9E=F0=9F=9B=92=E6=8E=A8=E8=8D=90)+=E6=A0=87?= =?UTF-8?q?=E6=98=8E=E5=B7=B2=E8=A7=A6=E5=8F=91=E9=87=8D=E8=AF=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/price_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/price_monitor.py b/scripts/price_monitor.py index 335741b0..f74363c8 100644 --- a/scripts/price_monitor.py +++ b/scripts/price_monitor.py @@ -377,7 +377,7 @@ def run_once(round_label=""): buy_lo = d.get("entry_low", 0) buy_hi = d.get("entry_high", 0) rr = result.get("rr_ratio", 0) - msg = f"🛒 {name}({code}) 价{price} 买入区{buy_lo}~{buy_hi} RR={rr} 止损触发!" + msg = f"🔔 {name}({code}) 价{price}→触发操作区间{max(buy_lo,0):.2f}~{buy_hi:.2f},已触发重评|RR={rr}" push_to_xmpp(msg) outputs.append(f" 📨 止损重评→已推送Dad: {action}") except Exception as e: @@ -406,7 +406,7 @@ def run_once(round_label=""): action = result.get("action", "") if "买入" in timing_signal or "加仓" in timing_signal or "止损" in action: rr = result.get("rr_ratio", 0) - msg = f"🛒 {name}({code}) 价{price} 买入区{lo}~{hi} RR={rr}" + msg = f"🔔 {name}({code}) 价{price}→触发操作区间{lo}~{hi},已触发重评|RR={rr}" push_to_xmpp(msg) outputs.append(f" 📨 区间触发重评→已推送Dad: {action}") except Exception as e: