跳到正文
cccskills
免费在 GitHub 公开

trade-hypothesis-ideator

Turn trade logs, journal notes, and market observations into ranked trading hypotheses that experiments can test and disprove. Produce cards with experiment designs and stopping criteria, with optional strategy file exports for hypotheses marked for further investigation.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

实测评分 未实测

查看安装方法

适用场景

  • Turn trade logs and journal notes into hypotheses
  • Develop experiments from market observations
  • Rank hypotheses and define stopping criteria
  • Export promising hypotheses as strategy files

包含的文件(28)

  • SKILL.md2.7 KB
  • 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
  • references/evidence_quality_guide.md654 B
  • references/hypothesis_types.md428 B
  • requirements.txt123 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__.py0 B
  • 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.8 KB
  • scripts/run_hypothesis_ideator.py6.7 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

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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}})
  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.

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Plan and assess backtests, which test trading rules against historical data. Examine sensitivity to rule changes, trading costs, and data bias, then use supplied performance metrics to generate a structured evaluation with reasons that block adoption.

中文简介正在准备中。当前显示英语简介。

  • Define a backtesting plan for rule-based trading
  • Test sensitivity to parameters and trading costs
  • Investigate suspiciously strong backtest results
tradermonty/claude-trading-skills32332026年10月21日 更新

Analyze chart images showing how broadly US stocks are participating in market trends. Assess medium-term conditions and short-term signals, then produce an English report with positioning guidance, alternative scenarios, and risks based on the visible data.

中文简介正在准备中。当前显示英语简介。

  • Assessing the market cycle from an S&P 500 breadth chart
  • Checking short-term signals in an uptrend stock ratio chart
  • Comparing medium-term and short-term market signals
tradermonty/claude-trading-skills32332026年10月21日 更新

Assess how broadly US stock market gains are shared across stocks using public CSV data and optional charts. Produce English reports covering market conditions, trading signals, scenarios, and positioning for different investment timeframes.

中文简介正在准备中。当前显示英语简介。

  • Checking how broadly US stocks are participating in a market rise
  • Reviewing medium- to long-term market positioning
  • Assessing short-term swing trading signals
tradermonty/claude-trading-skills32332026年10月21日 更新

Turn VCP screening results, which identify narrowing price swings, into breakout trade plans. Calculate entry, stop-loss, target prices, and position sizes using worst-case entries, while applying portfolio risk limits and producing Alpaca-compatible order templates.

中文简介正在准备中。当前显示英语简介。

  • Planning entries, stop-losses, and profit targets for VCP candidates
  • Calculating position sizes from account size and risk limits
  • Checking total portfolio risk and sector exposure
tradermonty/claude-trading-skills32332026年10月21日 更新

Screen US growth stocks with William O'Neil's CANSLIM method, which evaluates seven factors including earnings, price strength, trading volume, and market direction. Receive ranked candidates with composite scores, factor breakdowns, market warnings, and data quality notes.

中文简介正在准备中。当前显示英语简介。

  • Find US stocks with earnings growth and price momentum
  • Compare a chosen list of stocks using CANSLIM scores
  • Screen a sector-focused stock list
tradermonty/claude-trading-skills32332026年10月21日 更新

Combine three reports on crowded positions, failed reactions to news, and weekly price reversals into one trading setup status. Identify missing or invalid evidence and determine whether the setup is ready for planning.

中文简介正在准备中。当前显示英语简介。

  • Combine three contrarian strategy reports
  • Check which confirmations are still missing
  • Find stale or inconsistent input reports
tradermonty/claude-trading-skills32332026年10月21日 更新

查看 tradermonty 的全部技能

报告此技能的问题