跳到主要内容
知仓学习社ZHICANG

trade-hypothesis-ideator

>

不碰外部(只输出文字)无严重或高危命中tradermonty/claude-trading-skills

它会碰到什么

扫了多少28 个文本文件,91 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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.

When to Use

  • After gathering trade logs, journal entries, or market observations that suggest a potential edge
  • When you have a structured input bundle (JSON) with evidence snippets and want falsifiable hypotheses
  • To bridge qualitative observations into quantitative experiment designs
  • Before committing capital to validate a new strategy idea with kill criteria

Prerequisites

  • Input JSON bundle with one or more of: trade_log, journal_snippets, market_data, observations
  • Python 3.9+ with pyyaml installed
  • No external API keys required (pure calculation skill)

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}})
  1. Critique hypotheses with prompts/critique_prompt_template.md.
  2. Run pass 2 ranking + output formatting + guardrails.
  3. Optionally export pursue hypotheses 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

Output

  • hypothesis_cards_<date>.json — Ranked hypothesis cards with verdicts (pursue, revise, discard)
  • hypothesis_cards_<date>.md — Human-readable summary with experiment designs and kill criteria
  • strategy_<hypothesis_id>.yaml — (Optional) Edge-finder-compatible strategy export for pursue cards
  • metadata_<hypothesis_id>.json — (Optional) Provenance metadata for exported strategies

Resources

  • references/hypothesis_types.md — Taxonomy of hypothesis patterns (mean-reversion, momentum, event-driven, etc.)
  • references/evidence_quality_guide.md — Criteria for rating evidence strength and sample size requirements

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。