Skip to content
Skillpedia
Analysis & spreadsheets37k · #7514

earnings-revision

What it does

This skill looks at forecast changes and earnings surprises for US and Hong Kong stocks. It is for investors who want to see whether analyst expectations are moving up or down and how prices react.

When to use it

  • ✓When you want to see whether analysts are raising or cutting earnings estimates for a company.
  • ✓When a company has just reported earnings and you want to see the surprise and the likely price drift.
  • ✓When you want to compare a company's guidance with its previous guidance.

Skill link

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/earnings-revision/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/earnings-revision/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Have analysts been raising or cutting their estimates for this company over the last quarter? Show me the trend.”

5 new skills a week. 1 minute to read.

How it works

The agent looks at the change in consensus estimates, how widely analysts agree on the direction, the size of any earnings surprise and the change in guidance. It uses these to describe whether momentum is building or fading.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Earnings Revision & Guidance Analysis

Overview

Track sell-side analyst estimate revisions, management guidance changes, and post-earnings price drift to generate investment signals. Earnings revisions are among the most persistent and well-documented alpha factors in equity markets — stocks with upward revisions tend to continue outperforming, and vice versa.

Core Concepts

1. Earnings Revision Momentum

The revision signal hierarchy (strongest to weakest):

Signal Type Description Typical Alpha (annualized) Persistence
Earnings surprise (beat/miss) Actual EPS vs consensus 3-8% post-event drift 60-90 days (PEAD)
Consensus revision breadth % of analysts revising up vs down 4-6% long-short spread 3-6 months
Estimate magnitude change Size of revision relative to prior estimate 3-5% 1-3 months
Guidance revision Management guidance change vs prior 5-10% on event Immediate + 30-60 day drift
Whisper number miss/beat Actual vs buy-side whisper (not official consensus) 2-4% 1-2 weeks

2. Key Metrics

Earnings Surprise:

# Standardized Unexpected Earnings (SUE)
sue = (actual_eps - consensus_eps) / std_of_forecast_errors

# Interpretation
# SUE > +2: large positive surprise → strong PEAD signal
# SUE < -2: large negative surprise → strong negative PEAD
# |SUE| < 0.5: in-line with expectations → weak signal

Revision Breadth:

# Revision breadth ratio
breadth = (num_upgrades - num_downgrades) / total_analysts

# Interpretation
# breadth > +0.5: strong consensus upgrade momentum
# breadth < -0.5: strong consensus downgrade momentum
# |breadth| < 0.2: mixed / no clear direction

Estimate Dispersion:

# Analyst disagreement
dispersion = std_of_estimates / abs(mean_estimate)

# High dispersion (>15%): high uncertainty → larger potential surprise
# Low dispersion (<5%): tight consensus → smaller surprise but higher confidence

3. Post-Earnings Announcement Drift (PEAD)

The most robust anomaly in equity markets: prices continue to drift in the direction of the earnings surprise for 60-90 days after the announcement.

PEAD trading rules:

Surprise Quintile Average 60-day Drift Strategy
Q5 (top surprise) +4 to +8% Go long, hold 60-90 days
Q4 +1 to +3% Mild long
Q3 (in-line) ~0% No action
Q2 -1 to -3% Mild short / underweight
Q1 (worst surprise) -4 to -8% Go short / avoid, hold 60-90 days

PEAD enhancement filters:

  • Small/mid cap > large cap (less analyst coverage = slower price discovery)
  • Low institutional ownership > high ownership (slower information diffusion)
  • First surprise in a direction > consecutive same-direction surprises
  • Revenue surprise + EPS surprise together > EPS surprise alone

4. Management Guidance Analysis

Guidance types:

Type What It Covers Signal Weight
Revenue guidance Top-line outlook High (harder to manipulate)
EPS guidance Bottom-line outlook Medium (can be managed via buybacks, tax rate)
Margin guidance Profitability trajectory High (reflects pricing power and cost control)
CapEx guidance Investment intentions Medium (forward-looking growth signal)
Segment guidance Division-level detail High (reveals where growth is coming from)

Guidance change signals:

# Guidance revision scoring
def score_guidance_change(current_guide, prior_guide, consensus):
    # Guide above consensus = positive signal
    if current_guide.midpoint > consensus * 1.02:
        guide_vs_consensus = "above"
    elif current_guide.midpoint < consensus * 0.98:
        guide_vs_consensus = "below"
    else:
        guide_vs_consensus = "inline"

    # Guide raised vs lowered vs maintained
    if prior_guide:
        if current_guide.midpoint > prior_guide.midpoint * 1.01:
            guide_revision = "raised"
        elif current_guide.midpoint < prior_guide.midpoint * 0.99:
            guide_revision = "lowered"
        else:
            guide_revision = "maintained"

    # Strongest signal: raised guidance above consensus
    # Weakest signal: lowered guidance below consensus

Guidance language analysis:

Language Pattern Interpretation Signal
"
FAQ

What is post-earnings drift?

The tendency for a stock's price to keep moving in the direction of a large earnings surprise for weeks afterward.

What is a standardized surprise?

A measure of how far actual earnings landed from the forecast, scaled by how much forecasts usually miss.

Does this give a trading signal?

It describes revision and surprise patterns, which can feed into a signal, but a signal still needs testing.

Details

Original description by the author

Earnings estimate revisions, guidance analysis, and post-earnings drift (PEAD) — track analyst consensus changes, earnings surprise patterns, and management guidance shifts for US/HK equities.

repo: HKUDS/Vibe-Trading

Popularity

GitHub stars
37k
Ranking position
#7514
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills