vcp-screener
БесплатноЗапускает вложенные скриптыНе проверенScreen S&P 500 or all US-listed stocks for Mark Minervini's Volatility Contraction Pattern (VCP), with a broader setup-candidate tier (relaxed VCP, cup with…
от tradermonty★ 9 343 звезды на GitHubОб этом скилле
VCP Screener - Minervini Volatility Contraction Pattern
Screen S&P 500 stocks for Mark Minervini's Volatility Contraction Pattern (VCP), identifying Stage 2 uptrend stocks with contracting volatility near breakout pivot points.
When to Use
- User asks for VCP screening or Minervini-style setups
- User wants to find tight base / volatility contraction patterns
- User requests Stage 2 momentum stock scanning
- User asks for breakout candidates with defined risk
- User asks "find every historical VCP in
" or wants to study one ticker's past VCP setups with forward outcomes ( --history --ticker SYM)
Prerequisites
- FMP API key (set
FMP_API_KEYenvironment variable or pass--api-key) - The 250 calls/day free-plan budget covers default screening (top 100 candidates), but the free plan can refuse quote requests (HTTP 402/403); the run then reports a plan restriction instead of VCP candidates, and a paid plan may be needed (see
docs/en/getting-started.md#fmp-plans) - Paid tier recommended for full S&P 500 screening (
--full-sp500) --universe-usscreens US-listed common stocks and ADRs (NYSE, NASDAQ, AMEX; price > $10, daily volume > 200,000) from the FMPstable/company-screenerendpoint, about 2,300 names. It analyzes every pre-filter pass: about 2,300 API calls and 10-15 minutes per run. Use it when mid and small caps (outside the S&P 500) should be included. If the plan does not serve the endpoint, the run exits with an error that suggests--full-sp500or--universe.
Workflow
Step 1: Prepare and Execute Screening
Run the VCP screener script:
# Default: S&P 500, top 100 candidates
python3 skills/vcp-screener/scripts/screen_vcp.py --output-dir skills/vcp-screener/scripts
# Custom universe
python3 skills/vcp-screener/scripts/screen_vcp.py --universe AAPL NVDA MSFT AMZN META --output-dir skills/vcp-screener/scripts
# Full S&P 500 (paid API tier)
python3 skills/vcp-screener/scripts/screen_vcp.py --full-sp500 --output-dir skills/vcp-screener/scripts
# US-listed common stocks and ADRs (about 2,300 API calls)
python3 skills/vcp-screener/scripts/screen_vcp.py --universe-us --output-dir reports/
Strict Mode (Minervini pure setup)
Only return stocks with valid_vcp=True AND execution_state in (Pre-breakout, Breakout):
python3 skills/vcp-screener/scripts/screen_vcp.py --strict --output-dir reports/
Historical single-ticker mode
Walk one ticker's multi-year history, detect every VCP that ever formed, and attach forward-outcome stats (breakout / stop-hit / timeout, days-to-outcome, max gain, max loss) per detection. Useful for pattern study and backtesting context — not a real-time screener.
# Default: scan ~5 years (1260 trading days), 5-day stride, 60-day outcome window
python3 skills/vcp-screener/scripts/screen_vcp.py \
--history --ticker FIX --output-dir reports/
# Custom scan length: 750 trading days (~3 years), 90-day outcome window
python3 skills/vcp-screener/scripts/screen_vcp.py \
--history 750 --ticker TSLA \
--stride-days 5 --outcome-days 90 \
--output-dir reports/
# Long scan: 10 years (2520 trading days)
python3 skills/vcp-screener/scripts/screen_vcp.py \
--history 2520 --ticker NVDA --output-dir reports/
Outputs (timestamped):
vcp_history_<SYM>_<YYYY-MM-DD_HHMMSS>.json— timeline of detections with full analyzer payload +forward_outcomeper detection + summary stats.vcp_history_<SYM>_<YYYY-MM-DD_HHMMSS>.md— human-readable timeline.
Mode-specific flags:
| Parameter | Default | Range | Effect |
|---|---|---|---|
--history [DAYS] |
(off) / 1260 if bare | 100-5040 | Enable historical mode; optionally specify trading-day scan window (requires --ticker) |
--ticker SYM |
— | — | Ticker to scan |
--stride-days |
5 | 1-60 | Trading-day step between as-of cursor positions |
--outcome-days |
60 | 5-252 | Forward window evaluated per detection |
Notes:
- Two FMP API calls per scan (ticker + SPY history), not 100+ like the cross-sectional pipeline.
marketCapand absolute RS percentile reflect the ticker in isolation, not against the live screening universe — use this report for pattern study, not portfolio sizing.- Detections are deduplicated by
(T1_high_date, last_low_date, pivot)so the same VCP isn't reported repeatedly as the cursor ages.
Advanced Tuning (for backtesting)
Adjust VCP detection parameters for research and backtesting:
python3 skills/vcp-screener/scripts/screen_vcp.py \
--min-contractions 3 \
--t1-depth-min 12.0 \
--breakout-volume-ratio 2.0 \
--trend-min-score 90 \
--atr-multiplier 1.5 \
--output-dir reports/
| Parameter | Default | Range | Effect |
|---|---|---|---|
--min-contractions |
2 | 2-4 | Higher = fewer but higher-quality patterns |
--t1-depth-min |
10.0% | 1-50 | Higher = excludes shallow first corrections |
| `--breakout-volume-ratio |
Установить vcp-screener в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл vcp-screener?
Screen S&P 500 or all US-listed stocks for Mark Minervini's Volatility Contraction Pattern (VCP), with a broader setup-candidate tier (relaxed VCP, cup with handle, short base), a Focus List and breakouts-today flags, and detect historical VCPs in a single ticker's price path. Identifies Stage 2 uptrend stocks forming tight bases with contracting volatility near breakout pivot points; in historical single-ticker mode walks a multi-year history and emits every VCP that formed with forward-outcome stats (breakout / stop-hit / timeout). Use when user requests VCP screening, Minervini-style setups, tight base patterns, volatility contraction breakout candidates, Stage 2 momentum stock scanning, or historical VCP pattern study on a specific ticker (e.g. FIX, TSLA).
Как установить скилл vcp-screener?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vcp-screener запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
patterns
Find patterns worth sharing from recent PRs and repo history, both repeats to fix and good practices worth spreading. Use when a champion wants to know what…
от Anthropiccopilot-cli-quickstart
Use this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and…
от GitHubvardoger-analyze
Use when the user asks to personalize the GitHub Copilot CLI assistant, adapt Copilot to their style, use vardoger, or analyze their Copilot CLI conversation…
от GitHubpolicy-lookup
Find and explain company policies in plain language. Trigger with "what's our PTO policy", "can I work remotely from another country", "how do expenses work"…
от Anthropic