diff --git a/scripts/daily_scheduler.py b/scripts/daily_scheduler.py index a1ffd65..89ce757 100644 --- a/scripts/daily_scheduler.py +++ b/scripts/daily_scheduler.py @@ -166,8 +166,8 @@ def send_report_to_dingtalk(chart_path: str, summary_text: str = "") -> bool: # 发送图文消息 success = bot.send_image_via_oss( image_path=chart_path, - title=f"ETF轮动策略日报 ({today_str})", - text=summary_text or f"今日调仓信号已生成", + title=f"ETF轮动策略调仓日报 ({today_str})", + text=summary_text, expire_days=7, ) @@ -233,7 +233,7 @@ def daily_task(config_path: str = "config/strategies/rotation.yaml"): # 3. 发送报告 if result.get("chart_path"): send_report_to_dingtalk( - chart_path=result["chart_path"], summary_text="今日ETF轮动策略调仓信号" + chart_path=result["chart_path"], summary_text="" ) else: logger.warning("未找到报告图表")