Skip to content

Commit 5f03652

Browse files
aoteman-miniaoteman-mini
authored andcommitted
Remove market review from daily push notification
Keep only the decision dashboard (决策仪表盘) in daily push and Feishu doc, removing market review (大盘复盘) section. The market review generation logic is preserved but no longer included in the merged notification or Feishu document output.
1 parent 0a9a1de commit 5f03652

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

main.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -507,11 +507,9 @@ def run_full_analysis(
507507
if review_result:
508508
market_report = review_result
509509

510-
# Issue #190: 合并推送(个股+大盘复盘
511-
if merge_notification and (results or market_report) and not args.no_notify:
510+
# Issue #190: 合并推送(仅决策仪表盘,不含大盘复盘
511+
if merge_notification and results and not args.no_notify:
512512
parts = []
513-
if market_report:
514-
parts.append(f"# 📈 大盘复盘\n\n{market_report}")
515513
if results:
516514
dashboard_content = pipeline.notifier.generate_aggregate_report(
517515
results,
@@ -543,21 +541,17 @@ def run_full_analysis(
543541
from src.feishu_doc import FeishuDocManager
544542

545543
feishu_doc = FeishuDocManager()
546-
if feishu_doc.is_configured() and (results or market_report):
544+
if feishu_doc.is_configured() and results:
547545
logger.info("正在创建飞书云文档...")
548546

549547
# 1. 准备标题 "01-01 13:01大盘复盘"
550548
tz_cn = timezone(timedelta(hours=8))
551549
now = datetime.now(tz_cn)
552-
doc_title = f"{now.strftime('%Y-%m-%d %H:%M')} 大盘复盘"
550+
doc_title = f"{now.strftime('%Y-%m-%d %H:%M')} 决策仪表盘"
553551

554552
# 2. 准备内容 (拼接个股分析和大盘复盘)
555553
full_content = ""
556554

557-
# 添加大盘复盘内容(如果有)
558-
if market_report:
559-
full_content += f"# 📈 大盘复盘\n\n{market_report}\n\n---\n\n"
560-
561555
# 添加个股决策仪表盘(使用 NotificationService 生成,按 report_type 分支)
562556
if results:
563557
dashboard_content = pipeline.notifier.generate_aggregate_report(

0 commit comments

Comments
 (0)