用途:把定性的交易观察(交易日志、日志片段、市场数据、观察记录)转换为可量化验证的交易策略假设,帮助在投入资金前设计带“终止条件”的实验。
主要能力:接收规范化 JSON 输入包,通过两阶段流程生成 1-5 张结构化假设卡片;第一遍做归一化与证据提取,生成假设后依据批判提示词进行批判,第二遍排序、格式化输出并加入防护规则;输出含 pursue、revise、discard 结论的排序卡片、实验设计与终止条件;可选把 pursue 卡片导出为 strategy_<hypothesis_id>.yaml 与 metadata_<hypothesis_id>.json。
使用方式:需准备含 trade_log、journal_snippets、market_data、observations 中至少一项的 JSON 输入包,安装 Python 3.9+ 与 pyyaml。第一遍运行:python3 skills/trade-hypothesis-ideator/scripts/run_hypothesis_ideator.py --input skills/trade-hypothesis-ideator/examples/example_input.json --output-dir reports/;第二遍运行同脚本并加 --hypotheses reports/raw_hypotheses.json --export-strategies,完成排序与可选导出。提示词位于 prompts/system_prompt.md、developer_prompt_template.md(注入 {{evidence_summary}})与 critique_prompt_template.md。
适用场景:已有交易日志或市场观察、希望把定性线索转为可测试策略时;需要量化实验设计与前置终止标准时。
限制:无需外部 API 密钥,为纯计算技能;具体效果、收费与价格资料未提供,暂无法确认。