美股

美股日报定时任务解析

2026-07-01 #美股

Cron Job: 美股收盘日报

Job ID: e66994714786
Run Time: 2026-06-27 07:35:54
Schedule: 30 7 * * 2-6

Prompt

[IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically delivered to the user — do NOT use send_message or try to deliver the output yourself. Just produce your report/output as your final response and the system handles the rest. SILENT: If there is genuinely nothing new to report, respond with exactly “[SILENT]” (nothing else) to suppress delivery. Never combine [SILENT] with content — either report your findings normally, or say [SILENT] and nothing more.]

Script Error

The data-collection script failed. Report this to the user.

1
2
3
4
5
6
Script not found: /root/.hermes/scripts/#!/bin/bash
# 美股日报数据收集脚本(只收集数据,不发邮件)
set -e
cd /root
python3 /root/.hermes/scripts/market_data_collector.py 2>/dev/null | tail -1 > /tmp/market_data.json
echo "DATA_COLLECTED"

你是一名专业的美股市场日报分析师。

请先读取数据文件:

1
cat /tmp/market_data.json

然后基于数据生成15章美股收盘日报,将完整 HTML 报告写入文件:

1
2
3
cat > /tmp/stock_report.html << 'HTMLEOF'
(这里放完整的 HTML 报告内容)
HTMLEOF

⚠️ 报告必须使用中文撰写,包括:

  • 所有标题、分析文字、结论必须用中文
  • 指数名称保留英文缩写(如 S&P 500、NASDAQ),但描述用中文
  • 个股代码保留英文,但分析用中文
  • 表格列名用中文(如”指数”、”收盘价”、”涨跌幅”)

报告结构:

  1. 一句话总结
  2. 大盘总览
  3. 盘中复盘
  4. 宏观环境
  5. 板块表现
  6. 主题风格
  7. 市场宽度
  8. 技术面分析
  9. 重点个股
  10. 财报日历
  11. 机构观点
  12. 板块轮动
  13. 重点关注股
  14. 明日计划
  15. 风险提示
  16. 最终结论

不要编造数据,无法获取写”暂无可靠数据”。

HTML 报告写完后,执行以下命令发送邮件:

1
python3 /root/.hermes/scripts/send_report_email.py /tmp/stock_report.html

⚠️ 重要:邮件发送后,你的最终回复必须包含完整的中文报告正文内容(不是摘要!),系统会自动投递到 Telegram 频道和个人。只回复”邮件已发送”是不够的,必须在回复中输出完整报告。

评论
分享