feat: 每维数据标注时间窗口(MA日数/资金近5日/消息最近3条/财报最新)

This commit is contained in:
知微
2026-07-10 13:17:40 +08:00
parent 005903af83
commit 98d6189b69
2 changed files with 13 additions and 13 deletions
+8 -8
View File
@@ -127,14 +127,14 @@ def build_prompt(data):
⚠️ 重要:以下9个维度不是独立分析的,你必须交叉对比后给出综合结论。
例如:如果消息面利好但资金流在流出,说明利好可能是出货;如果基本面强但技术面破位,说明估值可能还没到底。
当前数据(以下数据均来自实时API,禁止使用模型训练数据):
大盘:{data.get('macro','震荡')}
最新价:{data.get('price',0)} 涨跌:{data.get('change_pct','0')}%
PE={data.get('pe','?')} 市值={data.get('mcap','?')}亿
行业:{data.get('sector_context','?')}
技术面:{data.get('tech_snapshot','')[:300]}
资金流:{_flow_note}
消息面:{_news_note}
当前数据(以下数据均来自实时API每条标注时间窗口,禁止使用模型内部训练数据):
大盘:{data.get('macro','震荡')}(当日实时)
最新价:{data.get('price',0)} 涨跌:{data.get('change_pct','0')}%(当日实时)
PE={data.get('pe','?')}(最新财报) 市值={data.get('mcap','?')}亿
行业:{data.get('sector_context','?')}(当日实时)
技术面:{data.get('tech_snapshot','')[:300]}MA=5/10/20/60日 支撑阻力=近20日 量价=当日+近5日趋势)
资金流:{_flow_note}(近5日累计)
消息面:{_news_note}(最近3条,自动标注抓取时间)
当前信号:{data.get('timing_signal','?')} 分类:{data.get('stock_category','?')}
原策略:{(data.get('action','') or '')[:200]}