trade-hypothesis-ideator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Trade Hypothesis Ideator

交易假设生成器

Generate 1-5 structured hypothesis cards from a normalized input bundle, critique and rank them, then optionally export
pursue
cards into
strategy.yaml
+
metadata.json
artifacts.
从标准化输入包生成1-5个结构化假设卡片,对其进行评审和排序,随后可选择将标记为「pursue」的卡片导出为
strategy.yaml
+
metadata.json
产物。

Workflow

工作流程

  1. Receive input JSON bundle.
  2. Run pass 1 normalization + evidence extraction.
  3. Generate hypotheses with prompts:
    • prompts/system_prompt.md
    • prompts/developer_prompt_template.md
      (inject
      {{evidence_summary}}
      )
  4. Critique hypotheses with
    prompts/critique_prompt_template.md
    .
  5. Run pass 2 ranking + output formatting + guardrails.
  6. Optionally export
    pursue
    hypotheses via Step H strategy exporter.
  1. 接收输入JSON包。
  2. 执行第一阶段:标准化处理 + 证据提取。
  3. 使用如下提示词生成假设:
    • prompts/system_prompt.md
    • prompts/developer_prompt_template.md
      (注入
      {{evidence_summary}}
      参数)
  4. 使用
    prompts/critique_prompt_template.md
    评审生成的假设。
  5. 执行第二阶段:排序 + 输出格式化 + 防护规则校验。
  6. 可选择通过步骤H策略导出器导出标记为「pursue」的假设。

Scripts

脚本

  • Pass 1 (evidence summary):
bash
python3 skills/trade-hypothesis-ideator/scripts/run_hypothesis_ideator.py \
  --input skills/trade-hypothesis-ideator/examples/example_input.json \
  --output-dir reports/
  • Pass 2 (rank + output + optional export):
bash
python3 skills/trade-hypothesis-ideator/scripts/run_hypothesis_ideator.py \
  --input skills/trade-hypothesis-ideator/examples/example_input.json \
  --hypotheses reports/raw_hypotheses.json \
  --output-dir reports/ \
  --export-strategies
  • 第一阶段(生成证据摘要):
bash
python3 skills/trade-hypothesis-ideator/scripts/run_hypothesis_ideator.py \
  --input skills/trade-hypothesis-ideator/examples/example_input.json \
  --output-dir reports/
  • 第二阶段(排序 + 输出 + 可选导出):
bash
python3 skills/trade-hypothesis-ideator/scripts/run_hypothesis_ideator.py \
  --input skills/trade-hypothesis-ideator/examples/example_input.json \
  --hypotheses reports/raw_hypotheses.json \
  --output-dir reports/ \
  --export-strategies

References

参考资料

  • references/hypothesis_types.md
  • references/evidence_quality_guide.md
  • references/hypothesis_types.md
  • references/evidence_quality_guide.md