About trade-hypothesis-ideator
A skill that turns normalized input bundles into structured trading hypotheses, then critiques and ranks them. It can optionally export hypotheses marked for pursuit as strategy artifacts.
Key features
- 01Normalize input and extract evidence
- 02Generate 1–5 hypothesis cards
- 03Critique and rank hypotheses
- 04Export pursue cards to strategy files
Use cases
- 01Develop trade hypotheses from research inputs
- 02Rank hypotheses before strategy drafting
- 03Export selected hypotheses for further strategy work
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ mphinance/ alpha-skills --skill trade-hypothesis-ideatorAfter installing, type/trade-hypothesis-ideatorin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
README.mdexamples/example_input.jsonexample_output.jsonsample_input.jsonprompts/critique_prompt_template.mddeveloper_prompt_template.mdsystem_prompt.mdreferences/evidence_quality_guide.mdhypothesis_types.mdschemas/hypothesis_card.schema.jsoninput_bundle.schema.jsonoutput_bundle.schema.jsonraw_hypotheses.schema.jsonscripts/run_hypothesis_ideator.pyscripts/pipeline/__init__.pyevidence_extractor.pyformat_output.pynormalize.pyranking.pystrategy_exporter.pyscripts/tests/conftest.pytest_evidence_extractor.pytest_format_output.pytest_guardrails.pytest_normalize.pytest_ranking.pytest_strategy_exporter.pyDetails
From the project READMETrade 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
Comments
Markdown supported