aa0f740381
完整数据采集+分析管道: - market_watch.py:90行业板块采集(同花顺/东方财富) - 市场精选推荐 cron:全市场分析+候选池+星级推荐 - price_monitor.py:持仓/自选高频价格监控 - refresh_mtf_cache.py:多周期K线缓存 - 策略评估/知识萃取管道 文档:docs/ 含完整需求+架构设计 注意:尚未配置 git remote,笑笑接手后自行配置
12 lines
3.7 KiB
JSON
12 lines
3.7 KiB
JSON
{
|
||
"title": "Cron Job: 区间维护",
|
||
"type": "未知",
|
||
"created_at": "2026-06-03T18:55:56.049734",
|
||
"summary": "**Job ID:** d763b2aab864\n**Run Time:** 2026-06-03 18:41:00\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 18:41:00\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分析完成。唯一 `action=reassess` 的股票是 **300548 博创科技(长芯博创)**,属于 2b 临界场景,且目前是A股非交易时段,按规则只分析不推送。\n\n---\n\n**【区间维护分析】2026-06-03 18:40**\n\n**检查股票:300548 长芯博创(博创科技)**\n- 当前实际收盘价:**244.90**(+4.39%,前收234.60)\n- 记录区间:230~235\n- 距离上轨:(244.90−235)/235 = **+4.2%**(高于区间)\n- 偏离类别:**3~10% 临界**\n- 记录中的 distance_pct=-3.5% 为陈旧数据,实际已大幅高于区间\n\n**💡 建议调整(未执行,等确认):**\n建议将买入区从 `230~235` 上调至 **238~248**\n- 理由:股价连续上涨站稳240+,今日放量(240713手)收244.90,均线系统呈多头排列\n- 新区间覆盖今日震荡范围(238.01~253.60)的下半部分,兼顾支撑位和性价比\n\n**操作(2b规则 + 非交易时段):**\n- ✅ 已拉实时价\n- ✅ 已生成调整建议\n- ❌ 未执行修改(不清除breach标记)\n- ❌ 未推送XMPP(A股非交易时段,仅分析)\n\n当前市场已于15:00收盘,下一次自动检查将在明天8:40(盘中首轮)由主机时任务接手处理。如需我执行调整,请回复确认。\n",
|
||
"stocks_mentioned": [
|
||
"300548"
|
||
],
|
||
"structured": null,
|
||
"_id": "cron_d763b2aab864_2026-06-03_18-41-01"
|
||
} |