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
@@ -22,6 +22,13 @@ from datetime import datetime, timedelta
sys.path.insert(0, "/home/hmo/MoFin")
from backtest_framework import (calc_ma, calc_rsi, calc_macd, calc_atr,
# ── 消息通道统一路由(broadcast/xmpp by delivery) ──
try:
from messenger import install_stdio_hook as _msh
_msh()
except Exception:
pass
calc_trend_strength, calc_obv, calc_roc)
DB_PATH = Path("/home/hmo/MoFin/data/mofin.db")