diff --git a/deploy/profile-scripts/mofin_db.py b/deploy/profile-scripts/mofin_db.py index 6815133d..618bf4fa 100644 --- a/deploy/profile-scripts/mofin_db.py +++ b/deploy/profile-scripts/mofin_db.py @@ -1904,6 +1904,12 @@ def flush_rec_digest(max_items=5): try: import sys as _s, os as _o2 _s.path.insert(0, '/home/hmo/MoFin/deploy/profile-scripts') + # 操作推荐:归档到 broadcast + 推 xmpp(统一消息处理者) + try: + from messenger import send_action_recommendation + send_action_recommendation(title="MoFin操作推荐", content="\n".join(lines), source="per_stock_reassess.py") + except Exception: + pass from alert_helper import notify, ACTION return notify("推荐操作", "\n".join(lines), ACTION) except Exception as e: