stockbee-20pct-study
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.
Esta skill incluye scripts que tu agente puede ejecutar. Ver qué archivos
Resumen
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 recordsstockbee_20pct_daily_report_YYYY-MM-DD_HHMMSS.md— human-readable daily 20% study reportstockbee_20pct_enriched_YYYY-MM-DD_HHMMSS.json— enriched event recordsstockbee_20pct_outcome_update_YYYY-MM-DD_HHMMSS.json/md— matured forward outcome updatestockbee_20pct_cohort_summary_YYYY-MM-DD_HHMMSS.json/md— cohort statistics and rule candidatesstockbee_20pct_edge_hints_YYYY-MM-DD_HHMMSS.yaml— edge-hint export for downstream research skillsstate/stockbee/20pct_study_events.jsonl— durable 20% mover model book
Resources
references/methodology.md— 20% study methodology and review checklistreferences/event_schema.md— JSONL event record schemareferences/catalyst_taxonomy.md— catalyst and risk label definitionsreferences/scoring_system.md— event quality and study priority scoringreferences/cohort_mining_rules.md— overfitting controls and sample-size rulesscripts/run_20pct_study.py— CLI for scan, enrich, update-outcomes, summarize, and backfill
Archivos 15 archivos
- scripts/run_20pct_study.pyScript
- scripts/tests/test_cli_outputs.pyScript
- scripts/tests/test_cohort_summary.pyScript
- scripts/tests/test_event_detection.pyScript
- scripts/tests/test_fmp_client.pyScript
- scripts/tests/test_forward_outcomes.pyScript
- SKILL.mdMarkdown
- assets/cohort_summary_template.mdMarkdown
- assets/daily_report_template.mdMarkdown
- references/catalyst_taxonomy.mdMarkdown
- references/cohort_mining_rules.mdMarkdown
- references/event_schema.mdMarkdown
Instálala a mano
Deska ejecuta esto por ti, para cada agente que elijas. Para ejecutarlo tú en una terminal:
npx skills add tradermonty/claude-trading-skills --skill stockbee-20pct-studyMás de tradermonty
- us-stock-analysistradermontyComprehensive US stock analysis including fundamental analysis (financial metrics, business quality, valuation), technical analysis (indicators, chart patterns, support/resistance), stock comparisons, and investment report generation. Use when user requests analysis of US stock tickers (e.g., "analyze AAPL", "compare TSLA vs NVDA", "give me a report on Microsoft"), evaluation of financial metrics, technical chart analysis, or investment recommendations for American stocks.5,300 instalaciones en skills.sh0
- market-news-analysttradermontyThis skill should be used when analyzing recent market-moving news events and their impact on equity markets and commodities. Use this skill when the user requests analysis of major financial news from the past 10 days, wants to understand market reactions to monetary policy decisions (FOMC, ECB, BOJ), needs assessment of geopolitical events' impact on commodities, or requires comprehensive review of earnings announcements from mega-cap stocks. The skill automatically collects news using WebSearch/WebFetch tools and produces impact-ranked analysis reports. All analysis thinking and output are conducted in English.3,900 instalaciones en skills.sh0
- backtest-experttradermontyExpert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.3,800 instalaciones en skills.sh0
- market-environment-analysistradermontyComprehensive market environment analysis and reporting tool. Analyzes global markets including US, European, Asian markets, forex, commodities, and economic indicators. Provides risk-on/risk-off assessment, sector analysis, and technical indicator interpretation. Triggers on keywords like market analysis, market environment, global markets, trading environment, market conditions, investment climate, market sentiment, forex analysis, stock market analysis, 相場環境, 市場分析, マーケット状況, 投資環境.3,700 instalaciones en skills.sh0
- portfolio-managertradermontyComprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review, position analysis, risk assessment, performance evaluation, or rebalancing suggestions for their brokerage account.3,600 instalaciones en skills.sh0