Command Palette

Search for a command to run...

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

value-dividend-screener

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

Screen US stocks for high-quality dividend opportunities combining value characteristics (P/E ratio under 20, P/B ratio under 2), attractive yields (3% or…

tradermontyот tradermonty★ 9 343 звезды на GitHub

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

Value Dividend Screener

Overview

This skill identifies high-quality dividend stocks that combine value characteristics, attractive income generation, and consistent growth using a two-stage screening approach:

  1. FINVIZ Elite API (Optional but Recommended): Pre-screen stocks with basic criteria (fast, cost-effective)
  2. Financial Modeling Prep (FMP) API: Detailed fundamental analysis of candidates

Screen US equities based on quantitative criteria including valuation ratios, dividend metrics, financial health, and profitability. Generate comprehensive reports ranking stocks by composite quality scores with detailed fundamental analysis.

Efficiency Advantage: Using FINVIZ pre-screening can reduce FMP API calls by 90% and keeps API usage low. The stock-screener endpoint used by FMP-only mode is not on the free plan (2026-11); use --use-finviz or a plan that includes it (see docs/en/getting-started.md#fmp-plans).

When to Use

Invoke this skill when the user requests:

  • "Find high-quality dividend stocks"
  • "Screen for value dividend opportunities"
  • "Show me stocks with strong dividend growth"
  • "Find income stocks trading at reasonable valuations"
  • "Screen for sustainable high-yield stocks"
  • Any request combining dividend yield, valuation metrics, and fundamental analysis

Prerequisites

  • FMP API key: Required. Set FMP_API_KEY or pass --fmp-api-key. The stock-screener endpoint is not on the free plan (2026-11); use --use-finviz or an FMP plan that includes it (see docs/en/getting-started.md#fmp-plans).
  • FINVIZ Elite API key: Recommended, not required. Set FINVIZ_API_KEY or pass --finviz-api-key and use --use-finviz for two-stage screening. Without it the screener runs FMP-only and uses more API calls.
  • Python: 3.9+ with requests>=2.31.0 (see requirements.txt).

Price-history quality

RSI screening needs at least 20 returned closing-price observations. Every close in that history must be numeric, finite and positive. A candidate with missing or invalid closes is skipped with RSI unavailable on stderr; valid candidates continue. The full chronology and raw-close price basis are preserved. This exclusion means the candidate could not be evaluated, not that it passed or failed the oversold test.

Workflow

Step 1: Verify API Key Availability

For Two-Stage Screening (Recommended):

Check if both API keys are available:

import os
fmp_api_key = os.environ.get('FMP_API_KEY')
finviz_api_key = os.environ.get('FINVIZ_API_KEY')

If not available, ask user to provide API keys or set environment variables:

export FMP_API_KEY=your_fmp_key_here
export FINVIZ_API_KEY=your_finviz_key_here

For FMP-Only Screening:

Check if FMP API key is available:

import os
api_key = os.environ.get('FMP_API_KEY')

If not available, ask user to provide API key or set environment variable:

export FMP_API_KEY=your_key_here

FINVIZ Elite API Key:

  • Requires FINVIZ Elite subscription (~$40/month or ~$330/year)
  • Provides access to CSV export of pre-screened results
  • Highly recommended for reducing FMP API usage

Provide instructions from references/fmp_api_guide.md if needed.

Step 2: Execute Screening Script

Run the screening script with appropriate parameters:

By default, results are saved to reports/dividend_screener_results.json under the current working directory. Use --output to choose a different path.

Two-Stage Screening (RECOMMENDED)

Uses FINVIZ for pre-screening, then FMP for detailed analysis:

Default execution (Top 20 stocks):

python3 scripts/screen_dividend_stocks.py --use-finviz

With explicit API keys:

python3 scripts/screen_dividend_stocks.py --use-finviz \
  --fmp-api-key $FMP_API_KEY \
  --finviz-api-key $FINVIZ_API_KEY

Custom top N:

python3 scripts/screen_dividend_stocks.py --use-finviz --top 50

Custom output location:

python3 scripts/screen_dividend_stocks.py --use-finviz --output /path/to/results.json

Script behavior (Two-Stage):

  1. FINVIZ Elite pre-screening:
    • Market cap: Mid-cap or higher
    • Dividend yield: 3%+
    • Dividend growth (3Y): 5%+
    • EPS growth (3Y): Positive
    • P/B: Under 2
    • P/E: Under 20
    • Sales growth (3Y): Positive
    • Geography: USA
  2. FMP detailed analysis of FINVIZ results (typically 20-50 stocks):
    • Dividend growth rate calculation (3-year CAGR)
    • Revenue and EPS trend analysis
    • Dividend sustainability assessment (payout ratios, FCF coverage)
    • Financial health metrics (debt-to-equity, current ratio)
    • Quality scoring (ROE, profit margins)
  3. Composite scoring and ranking
  4. Output top N stocks to JSON file

Expected runtime (Two-Stage): 2-3 minutes for 30-50 FINVIZ candidates (much faster than FMP-only)

FMP-Only Screening (Original Method)

Uses only FMP Stock Screener API (higher API usage):

Default execution:

Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

references/advanced_usage.mdreferences/fmp_api_guide.mdreferences/follow_up_questions.mdreferences/performance_and_cost.mdreferences/report_template.mdreferences/resource_descriptions.mdreferences/screening_methodology.mdrequirements.txtscripts/_price_bars.pyscripts/dividend_history.pyscripts/fmp_client.pyscripts/screen_dividend_stocks.py

FAQ

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

Screen US stocks for high-quality dividend opportunities combining value characteristics (P/E ratio under 20, P/B ratio under 2), attractive yields (3% or higher), and consistent growth (dividend/revenue/EPS trending up over 3 years). Supports two-stage screening using FINVIZ Elite API for efficient pre-filtering followed by FMP API for detailed analysis. Use when user requests dividend stock screening, income portfolio ideas, or quality value stocks with strong fundamentals.

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

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

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

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

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

Сравнить value-dividend-screener с