Build a realized cone and compare implied
Published: 2025-11-09
URL: https://pyquantnews.substack.com/p/how-to-value-options-without-a-model
Subscribers, look for the code in your Private chat. Looking for the code notebooks? Consider a free subscription. Most option mistakes come from guessing volatility instead of measuring it. Most beginners think options pricing starts with finding a fair value.
The better starting point is measuring how wild the underlying has actually been. You do not need complex models to do that well, only a disciplined process. That false start leads to slow decisions, noisy trades, and confusion about whether options are cheap or expensive. I learned this building risk dashboards for a bank desk that lived on weekly calendars.
The traders only trusted signals that lined up with recent realized volatility and its range. If you scroll pricing docs, jump libraries, and tweak models without context, you miss the simple yardstick that guides good decisions.
The pain comes from mixing implied and realized without a stable reference, and from measuring volatility inconsistently across horizons. A clean realized volatility cone fixes both by anchoring each tenor to its own historical range. Pros look calm because they compare today’s realized to its history by horizon, then judge implied against that yardstick. My rule is simple and boring, and it works in practice: compute rolling realized volatility, summarize its distribution by window, and plot today against history.
In today’s post, you’ll build a realized volatility cone, read it correctly, and apply it to options decisions. Let’s go. Volatility cones A volatility cone is a chart that shows the historical distribution of realized volatility across several lookback windows, with today’s realized level overlaid. Options desks popularized cones to judge implied volatility against recent realized behavior across matching tenors. RiskMetrics and floor traders used similar range plots to frame decisions, and the idea stuck because it was fast and informative.
Today the same logic guides pre-trade checks, risk reviews, and sanity tests before you pay option premium. How they’re used in practice Professionals compute rolling realized volatility from log returns, annualize it with the square root of 252, and repeat across windows that map to option maturities. They summarize each window’s history using low, median, and upper bands, then overlay the latest realized point to see where today sits within its range. They compare that to current implied volatility, add context from events or earnings, and size trades when price and distribution align.
This matters for beginners because it turns a vague question into a measurable one you can compute in minutes. You get a clean baseline for “cheap” or “rich” without fragile modeling, fewer false signals from one-off spikes, and more confidence matching trade tenor to the data.
It also exposes common pitfalls in backtests like lookahead bias, mismatched windows, and mixing calendar days with trading days. Let’s see how it works with Python. Looking for the code notebooks? Subscribe. Library installation Install the libraries needed to fetch market data, compute realized volatility, and plot the cone so the notebook runs end-to-end. Imports and setup We use math for annualization, yfinance to download daily prices, numpy for vectorized math on returns, and matplotlib.pyplot to visualize the volatility cone.
This small stack mirrors what desks use for quick pre-trade checks without heavy dependencies. Keeping tools simple encourages a consistent process, which matters more than model complexity when judging whether options are cheap or rich. Annualizing with math.sqrt(252) aligns our realized metric with how implied volatility is quoted. Define cone parameters and collect data Set the lookback windows we will test and the quantile bands to summarize, and prepare containers to hold each window’s historical stats and the latest realized value.
Each window maps to a common option tenor, so we can compare realized behavior on the same horizon as the trade. Quantile bands give a robust sense of typical ranges instead of chasing extremes. Preallocating these lists keeps the loop clean and avoids mixing statistics across windows. Download daily JPM close prices for 2020 using yfinance. We measure realized volatility from what the market actually did rather than guessing. Use trading-day data to stay consistent with the 252-day annualization.
In practice, pull enough history to fill the longest window so the most recent estimates are not NaN. Compute rolling realized volatility by window Define a helper that converts rolling log-return variability into annualized realized volatility for a chosen window. Log returns make volatility scale-stable across price levels, which is important when comparing periods. Annualizing with the square root of 252 puts realized on the same units as implied volatility. Recomputing this per window builds the cone’s tenor-specific histories.
Evaluate the realized volatility series for each window and summarize its historical distribution into bands. These summaries create a stable yardstick by horizon, which is the core idea of a volatility cone. We also record today’s realized per window to see where it sits within its own historical range. Be mindful of thin history or recent events, which influence short windows more than long ones. Visualize volatility cone results clearly Plot each window’s distribution bands and overlay the latest realized point so we can judge today against history at matching tenors.
The result is a chart that looks like this. Read the cone across the x-axis by tenor, not as a time series. If today’s realized is near the lower band while same-tenor implied is high, selling optionality can be justified; the reverse suggests caution or buying vol. Always layer in event context like earnings or macro releases because cones anchor expectations but do not predict jumps. Your next steps You can now compute, compare, and use bar-based volatility estimators, then choose a simple daily sizing metric that matches realized moves.
This fixes the close-only bias, sets position sizes and stops correctly, and keeps risk stable through intraday spikes and overnight gaps.