Replication error of the S&P 500 under different volatility measures: just noise, or information?
Disclosure: EODHD provides me with free access to its data, which is used in this article. The article also contains an affiliate link to EODHD: if you sign up through it, I may receive a commission at no extra cost to you. The analysis and conclusions presented are my own and are for educational purposes only, not investment advice.
Replicating the S&P 500 with options is exact only in the Black-Scholes world, with continuous rebalancing. In practice, we can only trade at discrete times, and the real index does not follow the model. So the replication is never perfect. What interests me is how imperfect it is, and how that depends on the way volatility is measured.
To isolate those effects, I removed every other friction. $\Pi$ is a reference line, not a portfolio to trade. The option parameters follow Listing 6-1 (Python) in Liu (2025): a call with a strike 5% above the starting level and a 5% interest rate. The book hedges a call with shares; here calls replicate the index. In the book the volatility is fixed at 20%. I added two versions that update daily, using only data known then: the trailing 21-day realized volatility, and the VIX. I rebalanced daily from January to November 2024 in Python, with S&P 500 and VIX data from EODHD.
The first slide gives the assumptions. The second shows the replication error for all three versions (top: VIX). The three lines behave differently.


With the fixed 20% (orange), the error is below zero on every day and keeps deepening until July, then stays near −2%. The hedge assumed 20% volatility, while the index realized (over the sample) only about 12.5%.
With the trailing 21-day realized volatility (green), it is above zero on almost every day and ends near +2%, because the volatility estimate rose during the year.
With the VIX (violet), it moves around zero until April, then stays slightly below, with sharp spikes on days of market stress. On 5 August 2024 the VIX closed at 38.6 and the gap jumped to almost 6%, then reversed within days.
Same index, same option, same hedging rule, three different error paths. Each reads the market differently: assumed versus realized volatility, a change in the volatility estimate, or a spike in fear.
That makes me curious whether such an error path could say something about market regimes, or even hint at a trading signal. Part of it is mechanical, because the error is built from the index path and the volatility input, so any signal claim would need proper out-of-sample testing. This is a first look, not a strategy.
References
EODHD. (n.d.). EODHD Financial Data APIs [Data set]. Use my personal code DROZIMEK10 for 10% off your first purchase.
Liu, P. (2025). Quantitative risk management using Python: An essential guide for managing market, credit, and model risk. Apress. https://doi.org/10.1007/979-8-8688-1530-0

Related methodological resources
Continue Exploring Quantitative Finance Methodology
Explore PDF textbooks, implementation-oriented bundles, and methodological frameworks in quantitative investing, trading research, and scientific backtesting.
Explore PDF Textbooks & Bundles
