feat(messenger): 全部77个活跃cron脚本接入统一消息通道(install_stdio_hook)

This commit is contained in:
xxm
2026-08-21 22:34:25 +08:00
parent 5e0141eb28
commit 20c05b6e7c
77 changed files with 2083 additions and 1544 deletions
+7
View File
@@ -19,6 +19,13 @@ from datetime import datetime
from hk_strategies import HK_STRATEGIES, strategies_for_regime
# ── 消息通道统一路由(broadcast/xmpp by delivery) ──
try:
from messenger import install_stdio_hook as _msh
_msh()
except Exception:
pass
DB_PATH = Path("/home/hmo/MoFin/data/mofin.db")
PANEL = "/tmp/panel_12d_hk.pkl"
TD_GUARD = 5 # trend_down 连续>5天暂停超卖(组合级防守)