Skip to content
Alphanume Learn

Guided Python project

Earnings Implied vs. Realized Moves in Python

Before earnings, how often do options imply a larger move than the stock delivers?

Open the workbench

Choose Teaching sample to run Python without signing in.

How to run the test

Pair the move implied by option prices before the report with the absolute stock move after the reaction session. Apply any selection rule to the implied move before reading the realized outcome.

Worked example · fictional data

In fictional event EX01, the implied move is 4.6% and the absolute realized stock move is 2.1%.

implied_pct, realized_abs_pct = 4.6, 2.1
gap_pp = implied_pct - realized_abs_pct
print(round(gap_pp, 2))  # 2.5

What the result tells you

Options implied a move 2.5 percentage points larger than the stock delivered. A negative gap means the stock moved farther than implied. Try a higher implied-move cutoff and check how many events remain.

This gap measures the size of a stock move relative to a prior estimate. It does not measure options profit: that requires specific contracts, entry and exit prices, and a holding rule.

Projects Research an earnings strategy
0 of 5 steps complete

Step 1 of 5 · Define the question

Compare the expected move with reality.

Before earnings, options prices imply how far a stock might move. After the reaction session, compare that estimate with the absolute stock move.

The question is whether the implied move was usually larger. A positive gap means implied exceeded realized; a negative gap means the stock moved farther than expected.

Your task

Run the comparison on the real event rows. Read the mean gap and the number of positive gaps.

One thing to remember

This gap is a pricing comparison. It is not the return from buying or selling an options contract.

Connecting the dataset and preparing the study…

Loading draft…
Alphanume data

Loading the project’s real dataset.

Loading your code…

Progress for this project is separate from your full course.