Dividend growth pullback screener

From nicepkg/ai-workflow · View interactive version

Dividend growth pullback screener is an AI agent skill from the GitHub repository nicepkg/ai-workflow. Use this skill to find high-quality dividend growth stocks (12%+ annual dividend growth, 1.5%+ yield) that are experiencing temporary pullbacks, identified by RSI oversold conditions (RSI ≤40). This skill combines fundamental dividend analysis with technical timing indicators to identify buying oppo

How to use this skill

Skill file

Dividend Growth Pullback Screener

Overview

This skill screens for dividend growth stocks that exhibit strong fundamental characteristics but are experiencing temporary technical weakness. It targets stocks with exceptional dividend growth rates (12%+ CAGR) that have pulled back to RSI oversold levels (≤40), creating potential entry opportunities for long-term dividend growth investors.

Investment Thesis: High-quality dividend growth stocks (often yielding 1-2.5%) compound wealth through dividend increases rather than high current yield. Buying these stocks during temporary pullbacks (RSI ≤40) can enhance total returns by combining strong fundamental growth with favorable technical entry timing.

When to Use This Skill

Use this skill when:

Do NOT use when:

Screening Workflow

Step 1: Set API Keys

Two-Stage Approach (RECOMMENDED)

For optimal performance, use FINVIZ Elite API for pre-screening + FMP API for detailed analysis:

# Set both API keys as environment variables
export FMP_API_KEY=your_fmp_key_here
export FINVIZ_API_KEY=your_finviz_key_here

Why Two-Stage?

FMP-Only Approach (Original Method)

If you don't have FINVIZ Elite access:

export FMP_API_KEY=your_key_here

Limitation: FMP free tier (250 requests/day) limits analysis to ~40 stocks. Use --max-candidates 40 to stay within limits.

Step 2: Execute Screening

Two-Stage Screening (RECOMMENDED):

cd dividend-growth-pullback-screener/scripts
python3 screen_dividend_growth_rsi.py --use-finviz

This executes:

  1. FINVIZ pre-screen: Dividend yield 0.5-3%, Dividend growth 10%+, EPS growth 5%+, Sales growth 5%+, RSI <40
  2. FMP detailed analysis: Verify 12%+ dividend CAGR, calculate exact RSI, analyze fundamentals

FMP-Only Screening:

python3 screen_dividend_growth_rsi.py --max-candidates 40

Customization Options:

# Two-stage with custom parameters
python3 screen_dividend_growth_rsi.py --use-finviz --min-yield 2.0 --min-div-growth 15.0 --rsi-max 35

# FMP-only with custom parameters
python3 screen_dividend_growth_rsi.py --min-yield 2.0 --min-div-growth 10.0 --max-candidates 30

# Provide API keys as arguments (instead of environment variables)
python3 screen_dividend_growth_rsi.py --use-finviz --fmp-api-key YOUR_FMP_KEY --finviz-api-key YOUR_FINVIZ_KEY

Step 3: Review Results

The script generates two outputs:

  1. JSON file: dividend_growth_pullback_results_YYYY-MM-DD.json
  1. Markdown report: dividend_growth_pullback_screening_YYYY-MM-DD.md

Step 4: Analyze Qualified Stocks

For each qualified stock, the report includes:

Dividend Growth Profile:

Technical Timing:

Quality Metrics:

Investment Recommendation:

Screening Criteria Details

Phase 1: Fundamental Screening (FMP API)

Initial Filter:

Dividend Growth Analysis:

Financial Health:

Phase 2: Technical Screening (RSI Calculation)

RSI Calculation:

RSI Filter:

Phase 3: Ranking and Output

Composite Scoring (0-100):

Stocks ranked by composite score. Top scorers combine exceptional dividend growth with attractive technical entry points.

Understanding the Results

Interpreting RSI Levels

RSI 25-30 (Extreme Oversold):

RSI 30-35 (Strong Oversold):

RSI 35-40 (Early Pullback):

Dividend Growth Compounding Examples

12% Dividend CAGR (Minimum Threshold):

15% Dividend CAGR (Excellent):

20% Dividend CAGR (Exceptional):

Key Insight: Lower starting yield + high growth > high starting yield + low growth over 10+ years.

Troubleshooting

No Results Found

Possible Causes:

  1. Market conditions: Strong bull market with few oversold stocks
  2. Criteria too strict: 12% dividend growth is rare (5-10 stocks typically qualify)
  3. RSI threshold too low: Consider raising to RSI ≤45 for more candidates

Solutions:

API Rate Limit Reached

FMP Free Tier Limits:

Solutions:

1. Use FINVIZ Two-Stage Approach (RECOMMENDED)

python3 screen_dividend_growth_rsi.py --use-finviz

2. Limit FMP-Only Candidates

python3 screen_dividend_growth_rsi.py --max-candidates 40

3. Wait 24 Hours for Rate Limit Reset

4. Upgrade to FMP Paid Plan

Note: FINVIZ Elite subscription ($40/month) + FMP free tier is more cost-effective than FMP paid plans for this use case.

RSI Calculation Errors

Issue: "Insufficient price data for RSI calculation"

Cause: Stock has less than 30 days of trading history (IPO or inactive)

Solution: Script automatically skips stocks with insufficient data. No action needed.

Combining with Other Skills

Pre-Screening Context:

  1. Market News Analyst → Identify sector rotations or market pullbacks
  2. Breadth Chart Analyst → Confirm broader market oversold conditions
  3. Economic Calendar Fetcher → Check for upcoming rate decisions or macro events

Post-Screening Analysis:

  1. Technical Analyst → Analyze individual stock charts for qualified candidates
  2. US Stock Analysis → Deep dive on specific stocks before entry
  3. Backtest Expert → Validate RSI + dividend growth strategy historically

Example Workflow:

1. Market News Analyst: "Market pulled back 5% this week on Fed hawkish comments"
2. Breadth Chart Analyst: Confirms market oversold (S&P breadth weak)
3. Dividend Growth Pullback Screener: Finds 8 quality dividend growers with RSI <35
4. Technical Analyst: Analyze top 3 candidates for support levels and entry timing
5. Execute: Enter scaled positions with 6-12 month time horizon

Resources

scripts/

screen_dividend_growth_rsi.py - Main screening script

references/

rsi_oversold_strategy.md - RSI indicator explanation

dividend_growth_compounding.md - Dividend growth mathematics

fmp_api_guide.md - API usage documentation


Disclaimer: This screening tool is for informational purposes only. Past dividend growth does not guarantee future performance. Conduct thorough due diligence before making investment decisions. RSI oversold conditions do not guarantee price reversals - stocks can remain oversold for extended periods.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.