aa0f740381
完整数据采集+分析管道: - market_watch.py:90行业板块采集(同花顺/东方财富) - 市场精选推荐 cron:全市场分析+候选池+星级推荐 - price_monitor.py:持仓/自选高频价格监控 - refresh_mtf_cache.py:多周期K线缓存 - 策略评估/知识萃取管道 文档:docs/ 含完整需求+架构设计 注意:尚未配置 git remote,笑笑接手后自行配置
12 lines
2.6 KiB
JSON
12 lines
2.6 KiB
JSON
{
|
|
"title": "Cron Job: 区间维护",
|
|
"type": "未知",
|
|
"created_at": "2026-06-03T20:55:34.195440",
|
|
"summary": "**Job ID:** d763b2aab864\n**Run Time:** 2026-06-03 20:47:46\n**Schedule:** every 30m\n[IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically delivered to",
|
|
"content": "# Cron Job: 区间维护\n\n**Job ID:** d763b2aab864\n**Run Time:** 2026-06-03 20:47:46\n**Schedule:** every 30m\n\n## Prompt\n\n[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.]\n\n【区间维护】每30分钟自动检查并维护买入区\n\n时段:8:00-22:00,否则SILENT\n\n第一步:读 ~/.hermes/zone_breach.json\n 没有action=reassess的条目 → SILENT(零输出,不发消息)\n\n第二步:对每只action=reassess的股票,执行以下流程\n\n2a. 偏离>10%(明显老数据):\n - web_search 查找该股近期走势和研报\n - 根据当前价位重新计算合理买入区\n - 如果是watchlist里的自选股:直接更新 /home/hmo/web-dashboard/data/watchlist.json 的 buy_low/buy_high\n - 如果是decisions里的active策略:直接更新 /home/hmo/web-dashboard/data/decisions.json 的对应trigger区间\n - 重置zone_breach.json中该股的breach_count=0, action=maintain\n\n2b. 偏离3~10%(临界):\n - 拉实时价\n - 只生成调整建议,不执行修改\n - 不清除breach标记,等用户确认后再改\n\n第三步:推送XMPP\n 用 docker exec ejabberd ejabberdctl send_message chat zhiwei@yoin.fun mohe@yoin.fun \"\" \"...\" \n 推送格式(多条合并成一条):\n 【区间维护】时间\n ✅ 已自动调整:股票名(代码) 旧区间→新区间(理由)\n 💡 建议调整:股票名(代码) 建议XX~XX(理由)\n \n 无调整也SILENT\n\n第四步:如果是A股非交易时段(15:00-次日9:30),只分析不推送\n\n## Response\n\n**检查完毕。** 博创科技(300548) 处于临界偏离(+5.3%),建议238~248,等待用户确认。因A股非交易时段(20:46),只分析不推送。无新通知需要发送。\n\n[SILENT]\n",
|
|
"stocks_mentioned": [
|
|
"300548"
|
|
],
|
|
"structured": null,
|
|
"_id": "cron_d763b2aab864_2026-06-03_20-47-46"
|
|
} |