Squeezing volatility out of the high and the low
Two stocks both close exactly where they opened. One sat still all day. The other rallied 3%, crashed 4% and clawed its way back. Close-to-close volatility scores them the same: zero. The daily high and low know better, and using them can make a volatility estimate as accurate as one with eight times more data.
Close-to-close vol is noisy
Suppose log returns are normal with daily standard deviation σ, and you estimate the variance by averaging n squared returns. Each squared return has mean σ² and variance 2σ⁴. So
With a month of data (n = 20), the standard error is 16% of the true volatility. A stock with 20% vol will regularly show anywhere from 15% to 25%. You can shrink this by using more days, but then you are averaging over a period when vol was probably different. Volatility moves; you want an accurate estimate from a short window.
The fix is to use more information from each day. The day’s path contains far more than its closing price, and the high and low are a cheap summary of that path that every data vendor provides.
The range of a Brownian motion
If log price is a Brownian motion with volatility σ over one day, the range is a known distribution. Its first two moments are
Dividing the squared range by gives an unbiased estimate of σ², which is Parkinson’s estimator. The reason it is so much better than is that the range depends on the whole path. A day’s close can land near the open by luck even on a wild day. The high and low can’t both land near the open on a wild day.
The variance of one day’s Parkinson estimate is about , against for . The ratio is the efficiency: about 4.9 in theory. In plain terms, 20 days of Parkinson are worth about 100 days of close-to-close.
Garman and Klass asked for the best combination of , and similar terms, and found the formula in the recipe. It adds back what the close says, beyond the range, and reaches an efficiency of about 7.4. Rogers and Satchell traded a little efficiency for robustness to drift, explained below.
One simulated day
1,000 estimates from 20-day windows (annualised)
With 390 samples a day (one a minute) and no drift, every range estimator is much tighter than close-to-close, and they all sit a bit below the true 20%. Switch to 10 samples a day and the bias gets much worse. Switch on drift and watch close-to-close, Parkinson and Garman–Klass drift up while Rogers–Satchell stays put.
Three ways the real market breaks the formulas
1. Discrete sampling biases the range down. The formulas assume the price is watched continuously. Real prices trade at discrete times, so the recorded high is below the true high of the underlying process and the recorded low is above the true low. The range is too small, and the estimate is too low. With one-minute bars the bias is about 7% in variance. With 10 observations a day it is much larger. The close-to-close estimator does not have this problem.
2. Drift biases most of them up. A day with a strong trend has a big range even if volatility is low. Parkinson, Garman–Klass and close-to-close all read that trend as volatility. Rogers–Satchell is built from products like , which cancel the drift exactly, so it stays unbiased for any drift μ. For daily data drift is usually small next to volatility, but on trending intraday windows it matters.
3. Overnight gaps are invisible. All four formulas above see only the trading session. The jump from yesterday’s close to today’s open is volatility too, often 20–30% of the total for single stocks. Yang–Zhang (2000) fixes this by adding the overnight variance and combining it with an open-to-close and a Rogers–Satchell term:
It is unbiased with drift and with opening jumps, and is the usual default when you have OHLC bars.
import numpy as np
def range_vols(O, H, L, C, prevC=None, periods=252):
"""Annualised volatility from OHLC arrays (one entry per bar)."""
h, l, c = np.log(H / O), np.log(L / O), np.log(C / O)
est = {
"close_close": c**2,
"parkinson": (h - l)**2 / (4 * np.log(2)),
"garman_klass": 0.5 * (h - l)**2 - (2 * np.log(2) - 1) * c**2,
"rogers_satchell": h * (h - c) + l * (l - c),
}
out = {k: np.sqrt(v.mean() * periods) for k, v in est.items()}
if prevC is not None: # Yang–Zhang adds overnight gaps
n = len(O)
o = np.log(O / prevC)
k = 0.34 / (1.34 + (n + 1) / (n - 1))
var = o.var(ddof=1) + k * c.var(ddof=1) + (1 - k) * est["rogers_satchell"].mean()
out["yang_zhang"] = np.sqrt(var * periods)
return outOn 200,000 simulated days with one-minute sampling, the efficiencies come out at 1, 5.3, 8.1 and 6.3 for close-to-close, Parkinson, Garman–Klass and Rogers–Satchell, and the range estimators average 91–93% of the true variance. The efficiencies are a bit above the theoretical values because the discrete-sampling bias also shrinks the noise.
When to use which
- Daily bars, liquid stock, quick estimate: Garman–Klass, or Yang–Zhang if you have the previous close.
- Trending or intraday windows: Rogers–Satchell, since drift doesn’t fool it.
- Have tick or minute data: realised variance (sum of squared intraday returns) beats all of these, until microstructure noise kicks in at very high frequency.
- Illiquid instrument with few trades: be careful with any range estimator. Few trades means a big downward bias in the range.
Where people slip in interviews
- Forgetting the 4 log 2. The raw squared range overstates variance by a factor of about 2.8.
- Averaging volatilities instead of variances. Average the daily variance estimates over the window, then take one square root. Averaging square roots biases the result down (Jensen).
- Claiming range estimators are unbiased in practice. Discrete sampling makes them too low, and the gap between yesterday’s close and today’s open is missing.
- Using Parkinson on a strongly trending series. The trend inflates the range. Rogers–Satchell handles it.
- Annualising wrong. Multiply the daily variance by 252 (trading days), or the daily vol by √252 ≈ 15.9.
Try these before you open the answer
Warm-upA stock's high is 2% above its low (H/L = 1.02). What is the Parkinson estimate of daily and annualised volatility from that one day?Show answer
EfficiencyGarman–Klass is about 7.4 times as efficient as close-to-close. How many days of close-to-close data match the accuracy of 20 days of Garman–Klass?Show answer
Variance of the estimate scales like 1/n, so efficiency is a ratio of sample sizes: about 7.4 × 20 ≈ 150 days, more than half a year.
Standard errorYour 20-day close-to-close vol estimate is 25%. Roughly what is its standard error?Show answer
So a 95% interval is roughly 17% to 33%.
ComputeIn log terms relative to the open, a day has h = +1.5%, l = −0.5%, c = +1.0%. Annualise the close-to-close, Garman–Klass and Rogers–Satchell estimates from this one day.Show answer
Close-to-close: .
Garman–Klass: , so .
Rogers–Satchell: , so .
TheoryWhy is E[(h − l)²] = 4 log 2 · σ² larger than E[c²] = σ²?Show answer
The range covers the whole path, from its lowest to its highest point, while the close is just the endpoint. The range is always at least |c|, since the high is at least max(0, c) and the low is at most min(0, c), and it is usually much bigger.
DriftA price moves up in a straight line with no noise: h = c = μ, l = 0. What does each estimator say?Show answer
The true volatility is zero. Close-to-close gives μ², Parkinson gives μ²/(4 log 2), Garman–Klass gives . Rogers–Satchell gives , the right answer.
BiasYour range estimates come from bars with only a few trades each. Is your volatility too high or too low?Show answer
Too low. With few trades, the observed high and low miss the true extremes of the price path, so the range shrinks and so does the estimate.
All efficiency and bias numbers were checked on simulated Brownian paths. The figure runs its own simulation in your browser: 20,000 days per click.