Files
MoFin/data/reports/cron_b37aa8c91fa8_2026-05-22_00-04-29.json
知微 (MoFin) aa0f740381 MoFin 初始提交
完整数据采集+分析管道:
- market_watch.py:90行业板块采集(同花顺/东方财富)
- 市场精选推荐 cron:全市场分析+候选池+星级推荐
- price_monitor.py:持仓/自选高频价格监控
- refresh_mtf_cache.py:多周期K线缓存
- 策略评估/知识萃取管道

文档:docs/ 含完整需求+架构设计
注意:尚未配置 git remote,笑笑接手后自行配置
2026-06-20 12:04:21 +08:00

14 lines
3.9 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"title": "Cron Job: 持仓情报-盘后",
"type": "盘后",
"created_at": "2026-06-01T10:25:54.419132",
"summary": "**Job ID:** b37aa8c91fa8\n**Run Time:** 2026-05-22 00:04:28\n**Schedule:** 0 0,4,20 * * *\n[IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically deliver",
"content": "# Cron Job: 持仓情报-盘后\n\n**Job ID:** b37aa8c91fa8\n**Run Time:** 2026-05-22 00:04:28\n**Schedule:** 0 0,4,20 * * *\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执行盘后情报采集任务。现在是盘后时间(A股已收市15:00,港股已收市16:00)。\n\n⚠️ 输出规则:只输出一条消息,不要分多条。通过 execute_code 发送 POST 请求到 http://192.168.0.111:5801。\n\n⚠️ JSON 格式必须严格正确(这是关键!):\n- 必须用 `json.dumps({\"to\": \"wxid_c0a6izmwd78y22\", \"message\": \"内容\"})` 构建JSON\n- 禁止手工拼接字符串/f-string构造JSON\n- 禁止用单引号包key\n- 消息内容中的反斜杠、换行符等特殊字符会被`json.dumps`自动转义\n- 格式示例:\n ```python\n import json, urllib.request\n data = json.dumps({\"to\": \"wxid_c0a6izmwd78y22\", \"message\": msg}).encode(\"utf-8\")\n req = urllib.request.Request(\"http://192.168.0.111:5801\", data=data, headers={\"Content-Type\": \"application/json\"})\n proxy_handler = urllib.request.ProxyHandler({})\n opener = urllib.request.build_opener(proxy_handler)\n with opener.open(req, timeout=10) as resp:\n pass\n ```\n\n📋 输出格式(合并为一条消息):\n\n【收盘总结】\n\n📊 大盘概况\n- 今日市场整体表现(上涨/下跌/震荡)\n- 成交量情况\n\n📈 持仓表现(按仓位从高到低)\n1. 股票名(代码) 收盘¥XX.XX 涨跌幅±X.XX%\n - 今日表现简评\n - 明日操作建议:买入/卖出/持有/止盈/止损\n - (如有)价位提醒:止损XX / 加仓XX / 目标XX\n\n📋 自选关注(按推荐价值)\n1. 股票名(代码) 收盘¥XX.XX 涨跌幅±X.XX%\n - 关注理由\n - 买入区间:XX-XX\n\n💡 明日关注\n- 重点关注的个股和事件\n\n⚠️ 逻辑检查:\n- 止损价 < 加仓价 < 现价 < 目标价 — 矛盾时这条建议不输出\n- 当日已通知过的价格提醒不再重复\n\n⚡ 数据来源:\n- 实时价格:调用 price_monitor.py 获取当日收盘数据\n- 持仓数据:/home/hmo/Obsidian/knowledge/finance/dad-portfolio.md\n- 自选数据和买入区间:/home/hmo/Obsidian/knowledge/finance/watchlist-buy-recommendations.md\n- 当日新闻:上网搜索\n\n## Response\n\n盘后情报采集任务已完成。\n\n**执行摘要:**\n- ✅ 成功获取 24 只股票的收盘行情数据\n- ✅ 成功获取 A股指数数据(上证-2.04%、深成指-2.07%、创业板-2.35%、科创50-3.70%)\n- ✅ 成功搜索当日驱动因素(美国BIS半导体管制升级 + LPR降息落空)\n- ✅ 盘后总结已通过 POST 发送至 WeChat 桥(HTTP 200\n\n**关键发现:**\n1. **海博思创(688411)** 暴跌-5.95%破止损价¥255,需关注明日是否止损\n2. **紫金矿业(601899)** 进入加仓区间29-30,可考虑分批加仓\n3. **诺德股份(600110)** 跌-6.26%为持仓跌幅最大\n4. **黄金ETF(518880)** +0.89%逆势收红,避险属性凸显\n5. 多个自选股(中芯国际H、华虹半导体、法拉电子)跌入买入区间\n",
"stocks_mentioned": [
"518880",
"600110",
"601899",
"688411"
],
"_id": "cron_b37aa8c91fa8_2026-05-22_00-04-29"
}