From f2d80d1948fefd4715239a2fd824e150691258bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E5=BE=AE?= Date: Thu, 9 Jul 2026 11:33:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20price=5Fmonitor=E9=87=8D=E8=AF=84?= =?UTF-8?q?=E5=90=8E=E4=B8=8D=E5=8F=AF=E6=93=8D=E4=BD=9C=E2=86=92=E5=8F=91?= =?UTF-8?q?=E8=AF=B4=E6=98=8E(=E4=B8=8D=E5=86=8D=E9=9D=99=E9=BB=98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/price_monitor.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/price_monitor.py b/scripts/price_monitor.py index a872e757..58d5705b 100644 --- a/scripts/price_monitor.py +++ b/scripts/price_monitor.py @@ -409,6 +409,11 @@ def run_once(round_label=""): msg = f"🔔 {name}({code}) 价{price}→触发操作区间{lo}~{hi},已触发重评|RR={rr}" push_to_xmpp(msg) outputs.append(f" 📨 区间触发重评→已推送Dad: {action}") + else: + reason = f"重评结果:{timing_signal},不构成操作建议" + msg = f"📋 {name}({code}) 价{price}进入操作区间{lo}~{hi},{reason}" + push_to_xmpp(msg) + outputs.append(f" 📨 区间触发→已推送说明: {reason}") except Exception as e: outputs.append(f" ⚠️ 区间重评失败: {e}") state[code][key] = True