Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

canslim-screener

БесплатноЗапускает вложенные скриптыНе проверен

Screen US stocks using William O'Neil's CANSLIM growth stock methodology. Use when user requests CANSLIM stock screening, growth stock analysis, momentum…

nicepkgот nicepkg★ 298 звёзд на GitHub

Об этом скилле

CANSLIM Stock Screener - Phase 2

Overview

This skill screens US stocks using William O'Neil's proven CANSLIM methodology, a systematic approach for identifying growth stocks with strong fundamentals and price momentum. CANSLIM analyzes 7 key components: Current Earnings, Annual Growth, Newness/New Highs, Supply/Demand, Leadership/RS Rank, Institutional Sponsorship, and Market Direction.

Phase 2 implements 6 of 7 components (C, A, N, S, I, M), representing 80% of the full methodology. This phase adds critical volume analysis (S) and institutional ownership tracking (I) to the Phase 1 foundation.

Two-Stage Approach:

  1. Stage 1 (FMP API + Finviz): Analyze stock universe with 6 CANSLIM components
  2. Stage 2 (Reporting): Rank by composite score and generate actionable reports

Key Features:

  • Composite scoring (0-100 scale) with weighted components
  • Finviz fallback for institutional ownership data (automatic when FMP data incomplete)
  • Progressive filtering to optimize API usage
  • JSON + Markdown output formats
  • Interpretation bands: Exceptional+ (90+), Exceptional (80-89), Strong (70-79), Above Average (60-69)
  • Bear market protection (M component gating)

Phase 2 Component Weights (Renormalized for 6 components):

  • C (Current Earnings): 19%
  • A (Annual Growth): 25%
  • N (Newness): 19%
  • S (Supply/Demand): 19% ← NEW
  • I (Institutional): 13% ← NEW
  • M (Market Direction): 6%

Future Phases:

  • Phase 3: Add L (Leadership/RS Rank) → 100% coverage (full CANSLIM)
  • Phase 4: FINVIZ Elite integration → 10x faster execution

When to Use This Skill

Explicit Triggers:

  • "Find CANSLIM stocks"
  • "Screen for growth stocks using O'Neil's method"
  • "Which stocks have strong earnings and momentum?"
  • "Identify stocks near 52-week highs with accelerating earnings"
  • "Run a CANSLIM screener on [sector/universe]"

Implicit Triggers:

  • User wants to identify multi-bagger candidates
  • User is looking for growth stocks with proven fundamentals
  • User wants systematic stock selection based on historical winners
  • User needs a ranked list of stocks meeting O'Neil's criteria

When NOT to Use:

  • Value investing focus (use value-dividend-screener instead)
  • Income/dividend focus (use dividend-growth-pullback-screener instead)
  • Bear market conditions (M component will flag - consider raising cash)

Workflow

Step 1: Verify API Access and Requirements

Check if user has FMP API key configured:

# Check environment variable
echo $FMP_API_KEY

# If not set, prompt user to provide it

Requirements:

  • FMP API key (free tier: 250 calls/day, sufficient for 40 stocks)
  • Python 3.7+ with required libraries:
    • requests (FMP API calls)
    • beautifulsoup4 (Finviz web scraping)
    • lxml (HTML parsing)

Installation:

pip install requests beautifulsoup4 lxml

If API key is missing, guide user to:

  1. Sign up at https://site.financialmodelingprep.com/developer/docs
  2. Get free API key (250 calls/day)
  3. Set environment variable: export FMP_API_KEY=your_key_here

Step 2: Determine Stock Universe

Option A: Default Universe (Recommended) Use top 40 S&P 500 stocks by market cap (predefined in script):

python3 skills/canslim-screener/scripts/screen_canslim.py

Option B: Custom Universe User provides specific symbols or sector:

python3 skills/canslim-screener/scripts/screen_canslim.py \
  --universe AAPL MSFT GOOGL AMZN NVDA META TSLA

Option C: Sector-Specific User can provide sector-focused list (Technology, Healthcare, etc.)

API Budget Considerations (Phase 2):

  • 40 stocks × ~5.1 calls/stock = ~203 API calls (within free tier)
    • FMP: ~3.3 calls/stock (income statements, quotes, prices, institutional holders)
    • Finviz: ~1.8 calls/stock (institutional ownership fallback, 2s rate limit)
  • Market data (S&P 500, VIX): 3 calls
  • Total: ~206 calls per screening run

Step 3: Execute CANSLIM Screening Script

Run the main screening script with appropriate parameters:

cd /Users/takueisaotome/PycharmProjects/claude-trading-skills/skills/canslim-screener/scripts

# Basic run (40 stocks, top 20 in report)
python3 screen_canslim.py --api-key $FMP_API_KEY

# Custom parameters
python3 screen_canslim.py \
  --api-key $FMP_API_KEY \
  --max-candidates 40 \
  --top 20 \
  --output-dir ../../../

Script Workflow (Phase 2):

  1. Market Direction (M): Analyze S&P 500 trend vs 50-day EMA
    • If bear market detected (M=0), warn user to raise cash
  2. Stock Analysis: For each stock, calculate:
    • C Component: Quarterly EPS/revenue growth (YoY)
    • A Component: 3-year EPS CAGR and stability
    • N Component: Distance from 52-week high, breakout detection
    • S Component: Volume-based accumulation/distribution (up-day vs down-day volume) ← NEW
    • I Component: Institutional holder count + ownership % (with Finviz fall
Полный SKILL.md на GitHub

Установить canslim-screener в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/canslim_methodology.mdreferences/fmp_api_endpoints.mdreferences/interpretation_guide.mdreferences/scoring_system.mdscripts/calculators/earnings_calculator.pyscripts/calculators/growth_calculator.pyscripts/calculators/institutional_calculator.pyscripts/calculators/leadership_calculator.pyscripts/calculators/market_calculator.pyscripts/calculators/new_highs_calculator.pyscripts/calculators/supply_demand_calculator.pyscripts/canslim_screener_2026-01-12_000442.jsonscripts/finviz_stock_client.pyscripts/fmp_client.pyscripts/report_generator.pyscripts/scorer.pyscripts/screen_canslim.pyscripts/test_institutional_endpoint.py

FAQ

Что делает скилл canslim-screener?

Screen US stocks using William O'Neil's CANSLIM growth stock methodology. Use when user requests CANSLIM stock screening, growth stock analysis, momentum stock identification, or wants to find stocks with strong earnings and price momentum following O'Neil's investment system.

Как установить скилл canslim-screener?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл canslim-screener запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить canslim-screener с