trade-hypothesis-ideator について
正規化された入力バンドルから、構造化された取引仮説を作成し、批評と順位付けを行うスキルです。任意で、pursue とされた仮説を戦略ファイルに出力できます。
主な機能
- 01入力の正規化と証拠の抽出
- 021~5件の仮説カードを生成
- 03仮説の批評と順位付け
- 04pursue カードを戦略ファイルに出力
活用シーン
- 01調査データから取引仮説を作成
- 02戦略案の前に仮説を順位付け
- 03選択した仮説を後続の戦略作業へ出力
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ mphinance/ alpha-skills --skill trade-hypothesis-ideatorインストール後、Claude Code で/trade-hypothesis-ideatorを入力して読み込まれたか確認します。
同梱ファイル
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.py詳細
トレード仮説アイデア生成ツール
正規化された入力バンドルから 1~5 枚の構造化された仮説カードを生成し、それらを批評してランク付けしたうえで、任意で pursue カードを strategy.yaml + metadata.json アーティファクトにエクスポートします。
ワークフロー
- 入力 JSON バンドルを受け取ります。
- パス 1 の正規化 + エビデンス抽出を実行します。
- 次のプロンプトで仮説を生成します:
prompts/system_prompt.mdprompts/developer_prompt_template.md({{evidence_summary}}を注入)
prompts/critique_prompt_template.mdで仮説を批評します。- パス 2 のランキング + 出力フォーマット + ガードレールを実行します。
- 任意で、ステップ H のストラテジーエクスポーターを介して
pursue仮説をエクスポートします。
スクリプト
- パス 1(エビデンスサマリー):
python3 skills/trade-hypothesis-ideator/scripts/run_hypothesis_ideator.py \
--input skills/trade-hypothesis-ideator/examples/example_input.json \
--output-dir reports/
- パス 2(ランク + 出力 + 任意のエクスポート):
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/hypothesis_types.mdreferences/evidence_quality_guide.md
コメント
Markdown 対応