Earnings Surprise History (Foster SUE + post-earnings drift base-rate per ticker)
earnings_surprise_historyFor one ticker: its earnings-surprise track record (Foster SUE per quarter) and its post-earnings-drift base-rate — does it tend to beat (vs its OWN history), how big is the latest surprise, how does the stock behave in the weeks after it reports. Pairs with upcoming_earnings ('who reports → what to expect').
CRITICAL labels (worth reinforcing in any prompt):
Surprise is OWN-history SUE, NOT vs-Street consensus. EPS minus same-fiscal-period-prior-year EPS, scaled by trailing 8q stdev. Standard academic PEAD measure when no analyst estimates are available. Never say 'beat consensus' — say 'beat its own seasonal trend' or 'positive SUE.'
Both abnormal AND raw drift returned, labelled. abn_drift_41_bps is the alpha read (vs IWM beta); raw_drift_41_bps is what a long-only earns (beta-dominated). Don't conflate.
is_restated carried per row. PIT-validated drift signal SURVIVES dropping every restated surprise-quarter (+88bps full-universe, monotonic; survivors-only was +105bps — delisted names show no drift). Callercan exclude/flag if needed.
report_date and drift fields are DECOUPLED. report_date is set whenever the earnings 2.02 is matched (~79% of cik-quarters carry it). Drift fields (announce_return_bps, abn_drift_*, raw_drift_*) are populated only AFTER the +41-trading-day window elapses. So a JUST-REPORTED quarter reads report_date SET + drift NULL = 'reported, drift in progress' — NOT 'no earnings event.' Distinguish from non-filer (both NULL = no 2.02). True drift misses on settled quarters are ~1%; the rest of the 21% null are genuine non-filers reporting via 10-Q only.
cadence per row ('quarterly' or 'annual', new 2026-06-14). Foreign private issuers (20-F filers — ICLR, ASML, BABA, …) carry annual SUE (fiscal_period='FY'); domestic 10-K/10-Q filers carry quarterly. Never compare an annual SUE to a quarterly SUE as if same-cadence — present the summary's cadence_mix block and frame accordingly. SUE itself is currency-INVARIANT (own-history Δ/σ; the unit cancels) so SUE is comparable across currencies, but eps/revenue are in reporting_currency (ICLR USD, ASML EUR, BABA CNY).
Annual-cadence rows have report_date + ALL drift fields NULL by design. 20-F filers file no 8-K Item 2.02 so there's no announcement to anchor drift on. 'Annual SUE, no drift' is the correct, expected state for foreign filers — NOT a data gap. Coverage: us-gaap 20-F live; still empty: ifrs-full-only names (HAFN, BN — pending xbrl's IFRS extractor) and 6-K quarterly interims (futures v2 funnel).
Per-quarter drift is NULL'd for fiscal/calendar-collision names (since 2026-06-12; previously the adjacent quarter's value). Drift events are keyed by calendar quarter; when two fiscal reports collide in one calendar quarter (e.g. KMX Feb-FYE — fiscal-Q4 in April + fiscal-Q1 in June, both calendar-Q2), the orphaned fiscal quarter's drift fields read NULL. Treat NULL as 'drift not available for this quarter,' NOT zero. ~2.6% of quarters affected. The aggregate SUE→drift signal (+88bps full-universe) and sue/revenue_sue/beat/report_date are all correct — re-anchoring on the 2.02-per-fiscal-quarter was tested and rejected (it would have degraded the aggregate meaningfully; the calendar anchor sometimes catches the guidance pre-announcement, which is closer to where drift actually begins).
Rows are found by the CURRENT ticker (META returns every quarter, including the FB years); each row's era_ticker is the symbol traded at that quarter's end_date, and former_tickers lists the earlier symbols.
Returns N most recent quarters for the ticker (default 12, max 80) + a summary block: beat_rate, drift_after_pos_sue, drift_after_neg_sue, latest_sue, latest_eps, sue_trend (slope of recent SUEs), data_quality.confidence, cadence_mix (count of quarterly vs annual rows returned), and reporting_currency (the row's native currency for eps/revenue).
Verified on CROX: beat_rate 0.63, drift after +SUE +249bps vs after −SUE +67bps, n=57 — the name-level PEAD pattern consistent with the cross-section.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "earnings_surprise_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cik | No | SEC CIK instead of ticker. Use it for delisted / acquired companies: their rows carry no ticker, only the CIK (era_ticker on each row shows the symbol it traded under then). | |
| as_of | No | YYYY-MM-DD cutoff (default today). Filters quarters TWO ways for PIT replay (per SURPRISE_HISTORY_INTEGRATION.md §6a 2026-06-12): (1) end_date <= as_of AND (report_date IS NULL OR report_date <= as_of) — drops fiscal quarters that hadn't been reported by as_of. (2) Drift fields are NULLED when their window hadn't closed by as_of (announce_return_bps needs +3 days post-report; abn_drift_21_bps needs +31 days; abn_drift_41_bps + raw_drift_41_bps need +60 days — calendar-day approximation, ±1-2d boundary slop is the explicit tradeoff vs needing a market calendar). Summary block (beat_rate / drift base-rates / latest) recomputes over the surviving rows. Recommend exclude_restated=true for clean replay — a stored EPS may be a later restatement; dropping is_restated=true rows removes that lookahead. Response echoes as_of_effective. | |
| ticker | No | Stock ticker (e.g. 'CROX', 'NVDA'). Each ticker maps to one company (its current holder). | |
| n_quarters | No | Quarters of history to return, most recent first. Default 12 (≈3 years). Max 80 (covers full history for nearly every covered name — CROX at 57 quarters is one of the longest). Pass a larger value for backtest-style rollups; the summary block is more stable with more history. | |
| exclude_restated | No | If true, omit quarters where is_restated=true from BOTH the row list AND the summary rollup. The PIT-honest variant. Default false (return everything + flag per row). |