trade-hypothesis-ideator
Generate falsifiable trade strategy hypotheses from market data, trade logs, and journal snippets. Use when you have a structured input bundle and want ranked hypothesis cards with experiment designs, kill criteria, and optional strategy.yaml export compatible with edge-finder-candidate/v1.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 32
- Forks
- 6
01 前言 Front Matter
- name
- trade-hypothesis-ideator
- description
- Generate falsifiable trade strategy hypotheses from market data, trade logs, and journal snippets. Use when you have a structured input bundle and want ranked hypothesis cards with experiment designs, kill criteria, and optional strategy.yaml export compatible with edge-finder-candidate/v1.
02 资源文件 27
- 参考文档examples/example_input.json2.5 KB
- 参考文档examples/example_output.json3.3 KB
- 参考文档examples/sample_input.json1.8 KB
- 参考文档prompts/critique_prompt_template.md309 B
- 参考文档prompts/developer_prompt_template.md405 B
- 参考文档prompts/system_prompt.md406 B
- 参考文档README.md1.6 KB
- 参考文档references/evidence_quality_guide.md654 B
- 参考文档references/hypothesis_types.md428 B
- 参考文档schemas/hypothesis_card.schema.json3.0 KB
- 参考文档schemas/input_bundle.schema.json2.2 KB
- 参考文档schemas/output_bundle.schema.json1.5 KB
- 参考文档schemas/raw_hypotheses.schema.json388 B
- 脚本scripts/pipeline/__init__.py—
- 脚本scripts/pipeline/evidence_extractor.py3.8 KB
- 脚本scripts/pipeline/format_output.py12.8 KB
- 脚本scripts/pipeline/normalize.py6.6 KB
- 脚本scripts/pipeline/ranking.py2.6 KB
- 脚本scripts/pipeline/strategy_exporter.py9.7 KB
- 脚本scripts/run_hypothesis_ideator.py6.6 KB
- 脚本scripts/tests/conftest.py1.1 KB
- 脚本scripts/tests/test_evidence_extractor.py2.7 KB
- 脚本scripts/tests/test_format_output.py4.1 KB
- 脚本scripts/tests/test_guardrails.py5.5 KB
- 脚本scripts/tests/test_normalize.py5.3 KB
- 脚本scripts/tests/test_ranking.py2.7 KB
- 脚本scripts/tests/test_strategy_exporter.py8.0 KB
03 SKILL.md 正文
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.
Workflow
- Receive input JSON bundle.
- Run pass 1 normalization + evidence extraction.
- Generate hypotheses with prompts:
prompts/system_prompt.mdprompts/developer_prompt_template.md(inject{{evidence_summary}})
- Critique hypotheses with
prompts/critique_prompt_template.md. - Run pass 2 ranking + output formatting + guardrails.
- Optionally export
pursuehypotheses via Step H strategy exporter.
Scripts
- Pass 1 (evidence summary):
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):
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.mdreferences/evidence_quality_guide.md
04 同仓库更多 Skills
order-lifecycle-safety
Idempotency, reconcile-before-retry, audit-before-forward and environment-proof preflight rules for any code or agent that places broker orders. Use when building or reviewing an order path, handling a timeout or unknown order outcome, adding client_order_id, deciding whether a retry is safe, or confirming paper vs live before sending an order.
order-lifecycle-safety
Idempotency, reconcile-before-retry, audit-before-forward and environment-proof preflight rules for any code or agent that places broker orders. Use when building or reviewing an order path, handling a timeout or unknown order outcome, adding client_order_id, deciding whether a retry is safe, or confirming paper vs live before sending an order.
write-a-skill
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
wireframe-sketch
A hand-drawn wireframe exploration — graph-paper background, marker / pencil tone, multiple tab labels for variants, sticky-note annotations, scribbled chart placeholders, hatched fills. Reads like a designer's whiteboard before any pixels are committed. Use when the brief asks for "wireframe", "sketch wireframe", "hand-drawn", "lo-fi", "whiteboard", "草稿", or "手绘原型".
weekly-update
Single-file horizontal-swipe slide deck for a weekly team update — shipped, in flight, blocked, metrics, asks. 6–8 slides. Use when the brief mentions "weekly update", "team update slides", "weekly status", "周报演示".
webull-openapi
Trade stocks, options, futures, crypto, and event contracts on Webull. Query real-time and historical market data. Manage accounts and positions. Supports US, HK, JP, SG, TH, MY, UK, MX, BR, EU, ZA, and AU regions with configurable risk controls.