Agent Skillstradermonty/claude-trading-skills › stockbee-20pct-study

stockbee-20pct-study

GitHub

用于构建美股20%涨跌幅事件研究,扫描异动股,分类催化剂与形态,更新未来表现并总结模式。适用于回测历史、发现规律及建立模型书,不提供交易信号。

skills/stockbee-20pct-study/SKILL.md tradermonty/claude-trading-skills

Trigger Scenarios

运行每日20%涨跌幅研究 查询特定时间段的大幅度涨跌股票 回溯历史大幅波动股票后续走势 识别延续、反转或衰竭等市场模式 构建爆炸性行情模型书

Install

npx skills add tradermonty/claude-trading-skills --skill stockbee-20pct-study -g -y
More Options

Use without installing

npx skills use tradermonty/claude-trading-skills@stockbee-20pct-study

指定 Agent (Claude Code)

npx skills add tradermonty/claude-trading-skills --skill stockbee-20pct-study -a claude-code -g -y

安装 repo 全部 skill

npx skills add tradermonty/claude-trading-skills --all -g -y

预览 repo 内 skill

npx skills add tradermonty/claude-trading-skills --list

SKILL.md

Frontmatter
{
    "name": "stockbee-20pct-study",
    "description": "Build and maintain a Stockbee-style daily 20% mover study for US equities by scanning +20%\/-20% movers, classifying catalysts and setup context, updating forward outcomes, and summarizing cohort patterns. Use when the user asks to run a daily 20% study, backfill historical 20% movers, find recurring edge patterns, or build a model book of explosive market moves."
}

Stockbee 20% Study

Build a daily event study of US equities that moved +20% or -20% over a defined window. Convert large movers into structured study records, classify the catalyst and chart context, update forward outcomes, and summarize recurring patterns for research.

This skill is a research, model-book, and setup-fluency workflow. It does not generate buy/sell signals, place orders, or output broker execution instructions.

When to Use

  • User wants to run a Stockbee-style daily 20% mover study
  • User asks which stocks moved +20% or -20% today, this week, or over a configurable lookback window
  • User wants to backfill historical 20% movers and study what happened next
  • User wants to identify continuation, reversal, exhaustion, or theme-cluster patterns
  • User wants to build a model book of explosive winners, major failures, and failed low-quality pops
  • User wants edge hints for downstream strategy research rather than immediate trade signals

Prerequisites

  • Python 3.9+
  • FMP API key for live US universe scans, or offline OHLCV JSON via --prices-json
  • Optional structured news/catalyst JSON for higher-quality catalyst classification
  • Recommended market regime artifact from market-regime-daily
  • Recommended local state path: state/stockbee/20pct_study_events.jsonl

Workflow

Step 1: Scan for 20% Movers

Run after the US market close, or against the latest complete daily bar in an offline OHLCV file.

python3 skills/stockbee-20pct-study/scripts/run_20pct_study.py scan \
  --fmp-universe \
  --max-symbols 300 \
  --as-of 2026-06-28 \
  --lookback-days 5 \
  --min-abs-return-pct 20 \
  --min-price 5 \
  --min-dollar-volume 20000000 \
  --include-down-movers \
  --state-file state/stockbee/20pct_study_events.jsonl \
  --output-dir reports/

Use offline data instead of FMP:

python3 skills/stockbee-20pct-study/scripts/run_20pct_study.py scan \
  --prices-json data/us_daily_ohlcv.json \
  --as-of 2026-06-28 \
  --lookback-days 5 \
  --include-down-movers \
  --state-file state/stockbee/20pct_study_events.jsonl \
  --output-dir reports/

Step 2: Enrich and Classify Events

Use structured catalyst data when available. The enrichment step is best-effort: if no news record is found, the event remains a price-only NO_CLEAR_NEWS study record.

python3 skills/stockbee-20pct-study/scripts/run_20pct_study.py enrich \
  --events-json reports/stockbee_20pct_events_YYYY-MM-DD_HHMMSS.json \
  --news-json data/catalysts_YYYY-MM-DD.json \
  --market-regime reports/market_regime_latest.json \
  --state-file state/stockbee/20pct_study_events.jsonl \
  --output-dir reports/

Step 3: Update Matured Forward Outcomes

Update 1-day, 3-day, 5-day, 10-day, and 20-day forward outcomes after enough future bars exist.

python3 skills/stockbee-20pct-study/scripts/run_20pct_study.py update-outcomes \
  --prices-json data/us_daily_ohlcv.json \
  --state-file state/stockbee/20pct_study_events.jsonl \
  --horizons 1,3,5,10,20 \
  --output-dir reports/

The update records close return, MFE, MAE, direction-adjusted continuation return, and outcome tags.

Step 4: Summarize Cohorts

python3 skills/stockbee-20pct-study/scripts/run_20pct_study.py summarize \
  --state-file state/stockbee/20pct_study_events.jsonl \
  --group-by direction,catalyst.label,technical_context.pattern_label,technical_context.close_quality \
  --min-sample 10 \
  --output-dir reports/

Treat rule_candidates and exported edge hints as research prompts. Require representative chart review, sample-size thresholds, and out-of-sample validation before changing trade rules.

Step 5: Historical Backfill

python3 skills/stockbee-20pct-study/scripts/run_20pct_study.py backfill \
  --from 2020-01-01 \
  --to 2026-06-28 \
  --prices-json data/us_daily_ohlcv.json \
  --min-abs-return-pct 20 \
  --include-down-movers \
  --state-file state/stockbee/20pct_study_events.jsonl \
  --output-dir reports/

Backfill records are marked CURRENT_UNIVERSE_BACKFILL_SURVIVORSHIP_BIAS by default. Add --survivorship-complete only when the supplied OHLCV includes delisted symbols and historical universe coverage.

Output Format

  • stockbee_20pct_events_YYYY-MM-DD_HHMMSS.json — scan metadata and event records
  • stockbee_20pct_daily_report_YYYY-MM-DD_HHMMSS.md — human-readable daily 20% study report
  • stockbee_20pct_enriched_YYYY-MM-DD_HHMMSS.json — enriched event records
  • stockbee_20pct_outcome_update_YYYY-MM-DD_HHMMSS.json/md — matured forward outcome update
  • stockbee_20pct_cohort_summary_YYYY-MM-DD_HHMMSS.json/md — cohort statistics and rule candidates
  • stockbee_20pct_edge_hints_YYYY-MM-DD_HHMMSS.yaml — edge-hint export for downstream research skills
  • state/stockbee/20pct_study_events.jsonl — durable 20% mover model book

Resources

  • references/methodology.md — 20% study methodology and review checklist
  • references/event_schema.md — JSONL event record schema
  • references/catalyst_taxonomy.md — catalyst and risk label definitions
  • references/scoring_system.md — event quality and study priority scoring
  • references/cohort_mining_rules.md — overfitting controls and sample-size rules
  • scripts/run_20pct_study.py — CLI for scan, enrich, update-outcomes, summarize, and backfill

Version History

  • 769a6c8 Current 2026-08-20 07:02

Same Skill Collection

examples/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/SKILL.md
examples/weekly-trade-strategy/.claude/skills/market-environment-analysis/SKILL.md
examples/weekly-trade-strategy/.claude/skills/sector-analyst/SKILL.md
examples/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/SKILL.md
examples/weekly-trade-strategy/.claude/skills/technical-analyst/SKILL.md
examples/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/SKILL.md
examples/weekly-trade-strategy/.claude/skills/us-stock-analysis/SKILL.md
examples/weekly-trade-strategy/skills/breadth-chart-analyst/SKILL.md
examples/weekly-trade-strategy/skills/market-environment-analysis/SKILL.md
examples/weekly-trade-strategy/skills/sector-analyst/SKILL.md
examples/weekly-trade-strategy/skills/stanley-druckenmiller-investment/SKILL.md
examples/weekly-trade-strategy/skills/technical-analyst/SKILL.md
examples/weekly-trade-strategy/skills/us-market-bubble-detector/SKILL.md
examples/weekly-trade-strategy/skills/us-stock-analysis/SKILL.md
skills/backtest-expert/SKILL.md
skills/breakout-trade-planner/SKILL.md
skills/canslim-screener/SKILL.md
skills/contrarian-setup-gate/SKILL.md
skills/crypto-regime-analyzer/SKILL.md
skills/data-quality-checker/SKILL.md
skills/downtrend-duration-analyzer/SKILL.md
skills/drawdown-circuit-breaker/SKILL.md
skills/dual-axis-skill-reviewer/SKILL.md
skills/earnings-trade-analyzer/SKILL.md
skills/economic-calendar-fetcher/SKILL.md
skills/edge-candidate-agent/SKILL.md
skills/edge-concept-synthesizer/SKILL.md
skills/edge-hint-extractor/SKILL.md
skills/edge-pipeline-orchestrator/SKILL.md
skills/edge-signal-aggregator/SKILL.md
skills/edge-strategy-designer/SKILL.md
skills/edge-strategy-reviewer/SKILL.md
skills/exposure-coach/SKILL.md
skills/finviz-screener/SKILL.md
skills/futures-position-sizer/SKILL.md
skills/fxmacrodata-calendar/SKILL.md
skills/ibd-distribution-day-monitor/SKILL.md
skills/institutional-flow-tracker/SKILL.md
skills/kanchi-dividend-review-monitor/SKILL.md
skills/kanchi-dividend-us-tax-accounting/SKILL.md
skills/macro-regime-detector/SKILL.md
skills/manifoldbt-backtester/SKILL.md
skills/market-breadth-analyzer/SKILL.md
skills/market-environment-analysis/SKILL.md
skills/market-top-detector/SKILL.md
skills/mt5-robot-tester/SKILL.md
skills/options-strategy-advisor/SKILL.md
skills/pair-trade-screener/SKILL.md
skills/portfolio-manager/SKILL.md
skills/position-sizer/SKILL.md

Metadata

Files
0
Version
87010e4
Hash
ea5045f5
Indexed
2026-08-20 07:02

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-20 08:06
浙ICP备14020137号-1