aa0f740381
完整数据采集+分析管道: - market_watch.py:90行业板块采集(同花顺/东方财富) - 市场精选推荐 cron:全市场分析+候选池+星级推荐 - price_monitor.py:持仓/自选高频价格监控 - refresh_mtf_cache.py:多周期K线缓存 - 策略评估/知识萃取管道 文档:docs/ 含完整需求+架构设计 注意:尚未配置 git remote,笑笑接手后自行配置
27 lines
5.6 KiB
JSON
27 lines
5.6 KiB
JSON
{
|
||
"title": "Cron Job: 价格监控-2分钟",
|
||
"type": "未知",
|
||
"created_at": "2026-06-03T10:58:51.721279",
|
||
"summary": "**Job ID:** d39e265198ad\n**Run Time:** 2026-06-03 10:58:48\n**Schedule:** */2 9-16 * * 1-5\n[IMPORTANT: You are running as a scheduled cron job. DELIVERY: Your final response will be automatically deliv",
|
||
"content": "# Cron Job: 价格监控-2分钟\n\n**Job ID:** d39e265198ad\n**Run Time:** 2026-06-03 10:58:48\n**Schedule:** */2 9-16 * * 1-5\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【价格监控-2分钟】高频价格监控+策略到期检查。9:30-16:00每2分钟一次。\n\n一、读 /home/hmo/web-dashboard/data/decisions.json\n 提取所有status=active且未过期的股票策略\n\n二、对每只active策略股:\n 用curl拉实时价\n 对比策略的trigger区间、entry_zone、止损止盈价\n\n三、触发信号输出(价格进入区间时):\n ⚡ {股票} {现价}({涨跌幅}) → 进入{策略区间}\n 策略原文:{含区间+仓位+止损+到期日}\n 现价已在区间内,请决策\n\n四、到期检查(每天早上9:35首轮执行一次):\n 对比当天日期与每只策略的expires_at\n 60天内到期的 → 标注为\"即将到期\"(不影响触发报警)\n 3天内到期的 → 输出到期提醒:「⏰ {股票}{策略名}将于{到期日}到期」\n 已过期的 → 建议转为inactive,输出:「⏰ {股票}策略已到期,建议复核」\n 到期提醒仅输出一次(用本地标记避免重复)\n\n五、修改与终止检查(每2小时执行一次):\n 有触发/预警的股票,检查其策略是否仍适用:\n - 价格长期远离区间 → 建议调整区间\n - 策略触发条件已达成(如已止盈) → 策略终止\n - 基本面/市场发生重大变化 → 建议终止或修改\n 修改/终止建议格式:\n 【策略终止建议】原策略→建议终止→理由\n 【策略修改建议】原策略→建议改为→理由\n 等用户确认后再更新决策库。\n\n六、无触发+无到期+无修改建议 → SILENT(不输出任何内容)\n\n【结构化数据输出】\n有触发时末尾附JSON:\n<structured_data>{\"type\":\"价格监控\",\"time\":\"HH:MM\",\"triggers\":[...],\"expiry_alerts\":[...]}</structured_data>\n\n## Response\n\n⚡ 百济神州(06160) 164.50(-2.55%) → 进入第一批入场区间164~166\n\n策略原文:分批入场:第一批164~166试仓100股,第二批170~172追认100股,止损160,目标175~185\n现价已在区间内,请决策\n\n---\n\n📋 今日扫描总结(其它11只active策略均无触发)\n\n| 股票 | 代码 | 现价 | 策略区间 | 状态 |\n|------|------|------|----------|------|\n| 腾讯控股 | 00700 | 464.80(-3.49%) | 追踪止盈从高点回落5%(≈460) | 464.80>460,安全 |\n| 诺德股份 | 600110 | 12.29(+3.80%) | 加仓区11.5~11.8 | 高于区间,观望 |\n| 双一科技 | 300690 | 24.85(-0.20%) | 观察仓23~27 | 中位区间 |\n| 海博思创 | 688411 | 289.63(-3.19%) | 止损275/止盈309 | 中间安全 |\n| 比亚迪股份 | 01211 | 94.55(-2.27%) | 止损85/止盈100 | 中间安全 |\n| 阿里巴巴-W | 09988 | 127.20(-2.83%) | 止损115/止盈145 | 中间安全 |\n| 紫金矿业 | 601899 | 31.52(-0.19%) | 止盈35 | 距止盈-10% |\n| 辽宁成大 | 600739 | 10.64(-0.65%) | 反弹止盈11.5~12 | 低于区间,等反弹 |\n| 宁德时代 | 300750 | 428.52(-1.24%) | 止盈500 | 距止盈-14% |\n| 中银香港 | 02388 | 47.94(-0.13%) | 止损44/止盈52 | 中间安全 |\n| 万科企业 | 02202 | 2.69(-3.24%) | 补仓区2.5~2.6 | 高于补仓区 |\n| 法拉电子 | 600563 | 161.27(-2.78%) | 止损150/止盈195 | 中间安全 |\n| 招商银行 | 600036 | 38.53(-0.70%) | 止损36/止盈42 | 中间安全 |\n| 黄金ETF | 518880 | 9.306(-1.11%) | 减仓区10.5~11 | 远低于区间 |\n| 中科电气 | 300035 | 16.76(+1.33%) | 止盈20 | 低于止盈,等反弹 |\n\n⏰ 即将到期标记(60天内,不影响触发报警):\n- 百济神州(06160) 策略将于2026-07-01到期(28天)\n- 诺德股份(600110) 策略将于2026-07-01到期(28天)\n- 中科电气(300035) 策略将于2026-07-01到期(28天)\n\n<structured_data>{\"type\":\"价格监控\",\"time\":\"10:56\",\"triggers\":[{\"code\":\"06160\",\"name\":\"百济神州\",\"price\":164.50,\"change\":\"-2.55%\",\"zone\":\"第一批入场164~166\",\"action\":\"试仓买入100股\",\"stop_loss\":160,\"targets\":\"175~185\"}],\"expiry_alerts\":[{\"code\":\"06160\",\"name\":\"百济神州\",\"expires\":\"2026-07-01\",\"days_left\":28,\"label\":\"即将到期\"},{\"code\":\"600110\",\"name\":\"诺德股份\",\"expires\":\"2026-07-01\",\"days_left\":28,\"label\":\"即将到期\"},{\"code\":\"300035\",\"name\":\"中科电气\",\"expires\":\"2026-07-01\",\"days_left\":28,\"label\":\"即将到期\"}]}</structured_data>\n",
|
||
"stocks_mentioned": [
|
||
"00700",
|
||
"01211",
|
||
"02202",
|
||
"02388",
|
||
"06160",
|
||
"09988",
|
||
"300035",
|
||
"300690",
|
||
"300750",
|
||
"518880",
|
||
"600036",
|
||
"600110",
|
||
"600563",
|
||
"600739",
|
||
"601899",
|
||
"688411"
|
||
],
|
||
"structured": null,
|
||
"_id": "cron_d39e265198ad_2026-06-03_10-58-48"
|
||
} |