Cron Job: trender-stock-analysis (FAILED)

← 返回首页

Cron Job: trender-stock-analysis (FAILED)

Job ID: ca8d2fa395d3
Run Time: 2026-09-08 07:10:45
Schedule: 10 7 * * *

Prompt

[IMPORTANT: The user has invoked the "daily-stock-analysis" skill, indicating they want you to follow its instructions. The full skill content is loaded below.]


name: daily-stock-analysis
description: Daily A-share cron alias; use a-share-stock-analysis skill.
category: research


Daily Stock Analysis (cron entry)

Trigger: the scheduled daily stock-analysis cron job lists this skill by name. This is an alias entry point — the class-level workflow lives in a-share-stock-analysis. Load it with skill_view(name='a-share-stock-analysis') for all data sources, API recipes, pitfalls, and the report template.

Minimal daily procedure

  1. Collect data: python3 ~/.hermes/skills/a-share-stock-analysis/scripts/fetch_daily_data.py — prints indices, sector ETFs, key stocks, 龙虎榜 (auto-falls back to latest available date), institutional seats, and news.
  2. Build the report following templates/report-template.md (大盘概况 / 风格分析 / 热点板块 / 重点个股 / 重要新闻 / 资金面 / 投资建议 / 明日关注).
  3. Save to /opt/data/hermes/stock-analysis/stock-analysis_{YYYYMMDD}.md.
  4. Deliver the full report as your final response — the cron system handles delivery (no send_message).

Notes

The user has provided the following instruction alongside the skill invocation: [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.]

运行每日股市分析,分析今日市场动态、热点板块和投资建议,然后将结果发送到 Telegram 用户 jinbin(Chat ID: 951402025)。

文件保存

将完整的分析报告同时保存到本地文件:/opt/data/hermes/stock-analysis/stock-analysis_{YYYYMMDD}.md

Error

RuntimeError: HTTP 400: Error from provider (Console): OpenCode's free tier can only be used in OpenCode