fix: price_monitor买入提醒改为🔔通知(非🛒推荐)+标明已触发重评

This commit is contained in:
知微
2026-07-09 10:45:28 +08:00
parent 8b53182e17
commit 77150c37d0
+2 -2
View File
@@ -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: