Guided Python project
Earnings Implied vs. Realized Moves in Python
Before earnings, how often do options imply a larger move than the stock delivers?
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.5What 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.