Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
tradermonty avatar

Earnings Trade Analyzer

  • 900 installs
  • 2.5k repo stars
  • Updated July 26, 2026
  • tradermonty/claude-trading-skills

earnings-trade-analyzer is a Python agent skill that scores post-earnings stock setups with a five-factor weighted model from 0–100 and letter grades for developers who automate earnings momentum screening.

About

earnings-trade-analyzer is an agent skill centered on analyze_earnings_trades.py, which pulls recent earnings reactions via the FMP API and scores each stock using five weighted factors: gap size at 25%, pre-earnings 20-day trend at 30%, volume trend at 20%, MA200 position at 15%, and MA50 position at 10%. Each candidate receives a composite score from 0–100 and a letter grade from A through D, with Grade A at 85+ signaling strong institutional accumulation. Default screening uses a 2-day lookback and top 20 results, sufficient on FMP free tier at 250 calls per day. Developers reach for earnings-trade-analyzer when building agent workflows for post-earnings momentum, PEAD candidate discovery, or scheduled after-close earnings reaction reviews.

  • 5-factor weighted composite score from 0–100 with letter grades A/B/C/D
  • Gap size factor (25% weight) with BMO vs AMC timing logic for earnings gaps
  • Pre-earnings 20-day return trend factor (30% weight) with tiered scoring table
  • Volume trend factor (20% weight) using 20-day vs 60-day average volume ratio
  • Documented score bands from >=10% gap (100) down to <1% gap (15)

Earnings Trade Analyzer by the numbers

  • 900 all-time installs (skills.sh)
  • +50 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #161 of 1,136 Finance & Trading skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/tradermonty/claude-trading-skills --skill earnings-trade-analyzer

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs900
repo stars2.5k
Security audit3 / 3 scanners passed
Last updatedJuly 26, 2026
Repositorytradermonty/claude-trading-skills

How do you score post-earnings stock momentum setups?

Score post-earnings stock setups with a weighted five-factor model and letter grades before committing capital.

Who is it for?

Developers automating post-earnings trade research who need reproducible five-factor scoring and letter grades from FMP earnings calendar data.

Skip if: Long-term fundamental investors who ignore earnings gaps, volume trends, and short-horizon momentum signals entirely.

When should I use this skill?

A developer asks for post-earnings trade analysis, earnings gap scoring, PEAD screening, or earnings momentum grading.

What you get

Timestamped JSON analyzer report, Markdown summary tables, composite scores, and A/B/C/D letter grades per ticker.

  • earnings_trade_analyzer JSON report
  • earnings_trade_analyzer Markdown report

By the numbers

  • Uses a 5-factor weighted scoring system producing 0–100 composite scores
  • Default screening uses 2-day lookback returning top 20 candidates
  • Letter grade A requires composite score of 85 or higher

Files

SKILL.mdMarkdownGitHub ↗

Earnings Trade Analyzer - Post-Earnings 5-Factor Scoring

Analyze recent post-earnings stocks using a 5-factor weighted scoring system to identify the strongest earnings reactions for potential momentum trades.

When to Use

  • User asks for post-earnings trade analysis or earnings gap screening
  • User wants to find the best recent earnings reactions
  • User requests earnings momentum scoring or grading
  • User asks about post-earnings accumulation day (PEAD) candidates

Prerequisites

  • FMP API key (set FMP_API_KEY environment variable or pass --api-key)
  • Free tier (250 calls/day) is sufficient for default screening (lookback 2 days, top 20)
  • Paid tier recommended for larger lookback windows or full screening

Workflow

Step 1: Run the Earnings Trade Analyzer

Execute the analyzer script:

# Default: last 2 days of earnings, top 20 results
python3 skills/earnings-trade-analyzer/scripts/analyze_earnings_trades.py --output-dir reports/

# Custom lookback and market cap filter
python3 skills/earnings-trade-analyzer/scripts/analyze_earnings_trades.py \
  --lookback-days 5 \
  --min-market-cap 1000000000 \
  --top 30 \
  --output-dir reports/

# With entry quality filter
python3 skills/earnings-trade-analyzer/scripts/analyze_earnings_trades.py \
  --apply-entry-filter \
  --output-dir reports/
Degraded endpoint / budget fallback for scheduled reviews

If the analyzer reports a 404, an implausible empty earnings calendar, or exhausts its API-call budget before producing scored candidates during a scheduled after-close/pre-market run, do not report "no earnings reactions" immediately.

1. First retry once with a narrower liquid-universe configuration so the full 5-factor scorer has a chance to complete, for example:

python3 skills/earnings-trade-analyzer/scripts/analyze_earnings_trades.py \
  --lookback-days 2 \
  --min-market-cap 5000000000 \
  --top 20 \
  --max-api-calls 600 \
  --output-dir reports/<routine-date>

2. If the scored run still returns no candidates or cannot complete, verify the same range through the stable endpoint used by the compatibility shim and clearly label the result as an ungraded fallback:

curl "https://financialmodelingprep.com/stable/earnings-calendar?from=YYYY-MM-DD&to=YYYY-MM-DD&apikey=$FMP_API_KEY"

Then optionally enrich returned US tickers through the analyzer's stable-first FMP client or per-symbol /stable/quote?symbol=<ticker> calls to rank by same-day changesPercentage, market cap, and liquidity. Use legacy /api/v3 quote calls only as a legacy-key fallback after stable has failed. Present these as preliminary / ungraded reactions because the 5-factor scorer did not run; do not assign A/B/C/D grades from the fallback alone.

No-candidate output pitfall: The analyzer may print Candidates after filtering: 0 / No candidates found matching criteria. and exit successfully without writing an earnings_trade_analyzer_*.json file. In that case, do not try to run PEAD Mode B from a nonexistent candidate file. Say explicitly that no scored analyzer JSON was produced, run the endpoint/quote enrichment fallback above if the routine needs an earnings section, and label any names as manual-review only.

Step 2: Review Results

1. Read the generated JSON and Markdown reports 2. Load references/scoring_methodology.md for scoring interpretation context 3. Focus on Grade A and B stocks for actionable setups

Step 3: Present Analysis

For each top candidate, present:

  • Composite score and letter grade (A/B/C/D)
  • Earnings gap size and direction
  • Pre-earnings 20-day trend
  • Volume ratio (20-day vs 60-day average)
  • Position relative to 200-day and 50-day moving averages
  • Weakest and strongest scoring components

Step 4: Provide Actionable Guidance

Based on grades:

  • Grade A (85+): Strong earnings reaction with institutional accumulation - consider entry
  • Grade B (70-84): Good earnings reaction worth monitoring - wait for pullback or confirmation
  • Grade C (55-69): Mixed signals - use caution, additional analysis needed
  • Grade D (<55): Weak setup - avoid or wait for better conditions

Output

  • earnings_trade_analyzer_YYYY-MM-DD_HHMMSS.json - Structured results with schema_version "1.0"
  • earnings_trade_analyzer_YYYY-MM-DD_HHMMSS.md - Human-readable report with tables

Resources

  • references/scoring_methodology.md - 5-factor scoring system, grade thresholds, and entry quality filter rules

Related skills

How it compares

Pick earnings-trade-analyzer over dividend screeners when post-earnings gap momentum and volume accumulation matter more than dividend CAGR and RSI pullback entry.

FAQ

What factors does earnings-trade-analyzer score?

earnings-trade-analyzer weights gap size at 25%, pre-earnings 20-day trend at 30%, 20-day versus 60-day volume ratio at 20%, MA200 position at 15%, and MA50 position at 10% into a 0–100 composite score.

What letter grades does earnings-trade-analyzer assign?

earnings-trade-analyzer maps composite scores to A at 85+, B at 70–84, C at 55–69, and D below 55. Grade A setups signal strong earnings reactions worth entry consideration.

Is Earnings Trade Analyzer safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.