stale_push_wlin: 操作符号标记

- ⚠️ 预算不足1手(列了也没法买,但让你知道)
- 🛒 手数达标(现金够买,可直接操作)

取自 position_advice calc_position 的实际计算结果:
  lots=0 → 预算不足 ⚠️
  lots>0 → 可以买 🛒
This commit is contained in:
知微
2026-06-24 10:47:34 +08:00
parent b229e6f0cb
commit e0b7f49c3a
4 changed files with 109 additions and 108 deletions
+2 -1
View File
@@ -426,8 +426,9 @@ def main():
)
pfx = "" if len(code) == 6 else "HK$"
action_tag = "⚠️" if lots == 0 else "🛒"
lines.append(
f" {name}({code}) {pfx}{price:.2f} 买区{buy_low}~{buy_high} | "
f" {action_tag} {name}({code}) {pfx}{price:.2f} 买区{buy_low}~{buy_high} | "
f"1手{lot:,.0f}元 RR={rr:.1f}{sl}{tp}\n"
f" {analysis}\n"
f" 技术{ss['强撑']}{ss['弱撑']}{ss['弱压']}{ss['强压']} | 信号{sig}\n"