fix: 删除zone_notes垃圾消息推送——进入操作区间但重评不推荐(信号不充分/观望/弱势持有)不推送,仅记日志

This commit is contained in:
hmo
2026-08-14 10:22:26 +08:00
parent efaa8211fa
commit c5c9f40f22
+3 -8
View File
@@ -1064,15 +1064,10 @@ def main():
lines.append("【⏳ 提前准备(T+2港股提前出清)】")
lines.extend(t2_lines)
# 操作区间内但重评后不可操作的→发说明
# 2026-08-14 删除:操作区间内但重评后不可操作的推送(垃圾消息,不推荐不推)
# zone_notes 仅记日志,不推送(老莫:进入区间但重评不推荐=垃圾消息)
if zone_notes:
lines.append("")
lines.append("【📋 操作区间提醒】进入操作区间,但重评后不构成推荐操作:")
for name, code, price, buy_low, buy_high, reason, sig in zone_notes:
lines.append(
f" {name}({code}) 价{price:.2f} 区间{buy_low}~{buy_high} "
f"→ 进入操作区间,但重评结果: {reason}"
)
print(f"[LOG] {len(zone_notes)} 只进入区间但重评不推荐(不推送): {[z[0] for z in zone_notes[:5]]}", flush=True)
# 标题:有推荐操作→"自选买入提醒",仅有区间说明→"操作区间提醒"
if has_actionable: