backtest-expert
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating…
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.
$ npx -y skills add BaggaT236/AI-Trading-Skills --skill canslim-screener --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/canslim-screenerContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: canslim-screener description: 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.
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: **C**urrent Earnings, **A**nnual Growth, **N**ewness/New Highs, **S**upply/Demand, **L**eadership/RS Rank, **I**nstitutional Sponsorship, and **M**arket Direction.
**Phase 3** implements all 7 of 7 components (C, A, N, S, L, I, M), representing **100% of the full methodology**.
**Two-Stage Approach:** 1. **Stage 1 (FMP API + Finviz)**: Analyze stock universe with all 7 CANSLIM components 2. **Stage 2 (Reporting)**: Rank by composite score and generate actionable reports
**Key Features:**
**Phase 3.1 Component Weights (Original O'Neil weights):**
**Weighted RS Formula:**
Weighted RS = 0.40 × rel_3m + 0.30 × rel_6m + 0.30 × rel_12m
Available periods are re-normalized when some are missing. Default benchmark is `^GSPC`; override with `--rs-benchmark SPY/QQQ/IWM/...`.
**Fallback hierarchy when multi-period data is incomplete:** 1. No benchmark → weighted absolute stock performance + 20% penalty. 2. All multi-period windows missing but >=50 bars of price history → fall back to the legacy 365-day full-window absolute return as the scoring input (20% penalty if no benchmark). 3. <50 bars of price history → score=0 with `error` set.
**Future Phases:**
---
**Explicit Triggers:**
**Implicit Triggers:**
**When NOT to Use:**
---
**API Requirements:**
**Python Dependencies:**
**Installation:**
pip install requests beautifulsoup4 lxml
---
**Output Directory:** `reports/` (default) or custom via `--output-dir`
**Generated Files:**
**Report Contents:**
**Rating Bands:**
---
Check if user has FMP API key configured:
# Check environment variable echo $FMP_API_KEY # If not set, prompt user to provide it
**Requirements:**
**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`
**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 3):**
Build disciplined, repeatable trading workflows with a modern TypeScript platform.
Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating…
This skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA based) and the…
Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat…
Validate data quality in market analysis documents and blog articles before publication. Use when checking for price scale…
Use this skill to find high-quality dividend growth stocks (12%+ annual dividend growth, 1.5%+ yield) that are experiencing…
Analyze historical downtrend durations and generate interactive HTML histograms showing typical correction lengths by sector and…