Files
MoFin/specs/schemas/trade-capture-output.json
T
xxm 61c3cb52b2 docs: LLM执行协议开发规范+可复用JSON schema
- docs/llm-execution-protocol.md: 从重评流程提取的通用协议(输入/prompt/解析/校验/写入/错误处理)
- specs/schemas/reassess-output.json: 重评LLM输出节标题schema
- specs/schemas/trade-capture-output.json: 截图识别LLM输出schema
- 可复用组件: _section_line/snapshot_strategy_history/write_holding_strategy/门禁模式
2026-08-21 00:08:09 +08:00

12 lines
639 B
JSON

{
"description": "交易截图识别 LLM 输出格式",
"sections": [
{"name": "交易动作", "field": "action", "type": "enum", "values": ["买入","卖出"]},
{"name": "股票代码", "field": "code", "type": "string", "constraint": "6位数字"},
{"name": "股票名称", "field": "name", "type": "string"},
{"name": "交易数量", "field": "shares", "type": "integer", "constraint": "必须>0"},
{"name": "交易价格", "field": "price", "type": "number", "constraint": "必须>0,与现价偏差±10%"},
{"name": "交易时间", "field": "time", "type": "datetime", "format": "YYYY-MM-DD HH:MM"}
]
}