Files
MoFin/data/reports/cron_b37aa8c91fa8_2026-05-22_04-03-58.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

9 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.355619",
"summary": "**Job ID:** b37aa8c91fa8\n**Run Time:** 2026-05-22 04:03:58\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 04:03:58\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- **时间:** 2026年5月22日(周五)04:02\n- **最新数据:** 2026年5月21日(周四)收盘数据(今日市场尚未开盘)\n- **大盘概况:** A股三大指数全线下挫(上证-2.04%、深证-2.07%、创业板-2.35%),恒指-1.03%\n- **持仓亮点:**\n - 最大跌幅:诺德股份-6.26%、海博思创-5.95%、阿里巴巴-4.47%\n - 唯一上涨:丘钛科技+0.34%、比亚迪H+0.39%、黄金ETF+0.89%、中银香港+0.17%\n- **自选重点:**\n - ✅ **中芯国际H**74.20)进入买入区72-75\n - ✅ **华虹半导体**128.00)进入买入区125-130\n - ✅ **法拉电子**158.36)进入买入区158-162\n - ❌ **腾讯**439.00)跌破买入区444-450,可等待更低位置\n",
"stocks_mentioned": [],
"_id": "cron_b37aa8c91fa8_2026-05-22_04-03-58"
}