Daily SPX surface calibration and a retrospective comparison of delta-hedging rules. Andreasen–Huge supplies the fitted price surface and Dupire local variance; a backward PDE calculates prices and spot Greeks. Black delta, smile-based rules and a rolling empirical minimum-variance correction are compared on the same observed option contracts.
The research question is whether fitting today's European option prices leads to smaller subsequent hedge errors. Calibration residuals, numerical convergence and historical hedge errors are evaluated separately.
Technical report (PDF) · Report source · Full results · Reproduction
Saved surfaces for 19 June 2015, with log forward-moneyness restricted to −0.09 through +0.09. Volatility is annualized percent. Unsupported quote interpolation and unstable local-variance estimates remain gaps.
| Study input or output | Scope |
|---|---|
| Raw data | 132 monthly files, 14,750,241 rows, 2013–2023 |
| Reference calendar | 2,768 sessions |
| Selected option entries | 44,500, targeting 21-, 35- and 45-day expiries |
| Holding / rebalancing intervals | 1/1, 5/1, 5/5, 10/1 and 10/5 sessions |
| Accounting scenarios | Midpoint marks; option bid–ask; option bid–ask plus hedge fee |
| Compared outcomes | 3,879,048 strategy/schedule/scenario records; zero pending paths |
An entry retains its original contract. The outcome count reuses entries across methods, schedules and scenarios; it is not an independent sample size.
For terminal funded hedge errors
Positive Gain means lower squared funded error than Black. Squaring around zero includes both squared mean error and dispersion; Gain is distinct from demeaned variance reduction and investment returns.
For five-session holdings, daily rebalancing and midpoint marks:
| Method | Pairwise Gain | Common-entry Gain | Common-entry 95% bootstrap interval |
|---|---|---|---|
| AH PDE | −25.58% | −30.16% | [−55.50%, −7.57%] |
| Empirical MV | −8.40% | −7.92% | [−25.78%, +9.08%] |
| LV smile | −12.38% | −12.40% | [−30.03%, +4.53%] |
| Sticky delta | −136.71% | −136.74% | [−188.49%, −91.90%] |
| Sticky strike | +0.15% | +0.15% | [−0.04%, +0.37%] |
The common-entry sample contains 33,763 entries on 2,406 entry dates. AH therefore produced 30.16% more squared funded error than Black in this comparison. Its reported interval and sticky delta's lie below zero. The remaining intervals include zero and do not resolve the direction of the difference from Black or establish equivalence.
Intervals use 500 stationary entry-date block-bootstrap replicates with mean block length 20 sessions; 10- and 40-session results are also saved. Resampling keeps contracts from the same date together. The intervals are conditional on the retained model estimates and selection, without refitting or simultaneous adjustment across methods, schedules and scenarios.
The adverse AH result concerns this implementation, including its short-end variance blend, under the stated conventions. It does not isolate the cause of the difference or establish a general ranking of local-volatility hedges. Results includes completion counts, exclusions and range views.
The history is retrospective: development included inspection of September and October 2023. Empirical fits use only outcomes completed before each prediction, but the broader sample is not an untouched holdout.
The raw files do not verify every SPX/SPXW root or official fixing. The research
key is UNKNOWN, with PM fixing assumed. Pricing and cash funding use 5%; the
pricing forward is parity-implied, while hedge-account dividend cash is zero.
The hedge is a fractional synthetic index position without observed executable
spreads or futures basis. Cost scenarios are sensitivities, not verified fills.
These conventions limit interpretation to a historical hedge-error comparison.
Assumptions gives the full specification.
Fix one valuation date as time zero. Let
Under deterministic rates and pricing yield, the risk-neutral index dynamics are
Local volatility is a deterministic function of index level and time. A constant coefficient recovers Black–Scholes; state and time dependence allow a smile and term structure.
Implied volatility is a different quantity. For a European call with strike
It is the constant Black volatility that reproduces one option price. A daily implied-volatility surface collects those values across strikes and maturities. Local volatility instead specifies the instantaneous diffusion used to price and hedge within a model. Recovering it requires information about how option prices change across both strike and maturity.
The surface coordinates are
Here
For a sufficiently regular European call-price surface, deterministic carry and positive strike curvature, the forward pricing equation gives
All derivatives refer to options observed on one valuation date. The maturity
derivative moves along that day's term structure; it is not a difference
between two historical quote dates. The coefficient at state
Strike curvature is central to the calculation. In the regular deterministic-
rate setting,
The calibration removes deterministic carry by defining
In these coordinates,
The time derivative is taken at fixed normalized strike
The backward pricer uses the same carry normalization.
The quote audit checks timestamps, contract fields, duplicate keys, index marks and bid–ask validity. Of 2,768 reference sessions, 24 lack observations; 21 observed early-close dates are excluded pending clock review.
The primary parity fit uses
An out-of-the-money quote is chosen at each calibration strike and converted to an equivalent call when necessary. Original quote half-spreads are retained as calibration weights. Quotes without an invertible positive midpoint IV remain visible in price-space diagnostics.
Each expiry is calibrated sequentially on a finite normalized-strike grid. Within a maturity interval, a fully implicit step has the form
The positive proxy volatility
The fitted proxy volatility is not the recovered local volatility. The
native price construction determines
Write
The implementation uses a finite discrete Gaussian filter and retains raw
variance from
A quote-based comparison interpolates total variance with PCHIP in
Unsupported regions, negative calendar derivatives, invalid density factors and unstable derivative stencils remain unavailable. This interpolation is a diagnostic comparison and was not used as a historical hedge diffusion.
A constrained SSVI fit provides a second comparison, with sufficient static- arbitrage restrictions on its shared-shape family. Its inspected quote fit is less accurate than AH. Both SSVI and quote-PCHIP are diagnostics; neither supplies the diffusion used in the historical hedge study. Methods and the report give their specification.
19 June 2015, 24 July expiry: equivalent-call quote fits, original half-spread residuals and local-volatility diagnostics.
For a European payoff, the usual local-volatility backward equation is
for a call, with the corresponding put payoff for a put. The implementation
works with
The solver marches backward using midpoint Crank–Nicolson, implicit Rannacher steps at the payoff, maturity breaks aligned with coefficient changes and a time mesh graded toward zero. Coefficients are sampled at positive times within supported domains. Grid settings are listed in methods.
For
Spot derivatives hold the saved coefficient and deterministic carry fixed. They do not recalibrate the surface. A new historical rebalance loads a newly calibrated current-date model, which is a separate operation.
The observed-IV Black spot delta holds IV fixed and scales the forward with
spot at fixed
Vega
| Method | Hedge convention |
|---|---|
| Black | Spot delta at observed midpoint IV |
| AH PDE | Spot derivative under the saved local-variance diffusion |
| Sticky strike | Black delta at fitted IV, with fitted IV fixed at strike |
| Sticky delta | |
| LV smile | |
| Empirical MV | Black delta plus a correction fitted from completed past outcomes |
| Unhedged | Zero index position |
Sticky delta uses an unadjusted normalized forward-call-delta smile, with invertibility and derivative checks. The LV-smile rule is a smile approximation, not the backward-PDE delta. These rules encode different assumptions about smile movement, so their corrections are not interchangeable.
The ideal one-period minimum-variance hedge motivates
The implemented empirical rule uses the feature vector
Ordinary least squares, without an intercept, fits
Current-date selection targets spot log-moneyness
The account is short one option. It starts with the option proceeds less the hedge purchase and entry costs. Cash accrues between decisions, then funds hedge trades and costs:
At exit, the account liquidates the index hedge and closes the option. Midpoint marks, option bid–ask and the additional 1 bp hedge-notional fee are separate scenarios. Funding, turnover and option/index P&L components remain in the ledger.
Coverage for the five-session daily midpoint comparison retains all 44,500 entries per method. Pairwise comparisons additionally require a completed Black path. Thirty dates lack AH surfaces because 31 expiry carry fits have too few selected parity pairs; these failures precede optimization. Common-entry matching aligns the retained samples but does not remove exclusion-related selection effects.
Analytical Black and square-root CEV controls check prices, Greeks, simulated transitions and funded accounting. Market refinements vary space, time, domain, grid position, blend radius and spot-bump width independently.
| Retained experiment | Measured result and scope |
|---|---|
| June 2015 Greek panel | 30 contracts × four blend radii × six PDE settings × three initial spots: 2,160 sampled states |
| Delta refinement | Maximum 24k-to-48k change of |
| Calibration vega | 18 contracts, seven calibrations and parallel quote-IV shocks of 1, 2 and 5 volatility basis points; maximum native/PDE relative difference 0.993% |
| Selected path replays | 72 scalar ledgers at six entry dates; component agreement within |
Gamma is more sensitive to grid position and blending. Calibration-vega shocks hold carry fixed and leave 31 noninvertible midpoint quotes unchanged; the check covers one declared shock direction. The path replays are outcome-selected explanations. These panels do not validate every historical Greek or independent calibration pillar. Validation and saved-path diagnostics identify their inputs and limits.
Python 3.11 is the reference runtime. From the repository root, activate the
existing volspx environment or use an environment under the ignored sandbox:
python3.11 -m venv scratch/.venv
source scratch/.venv/bin/activate
PIP_CACHE_DIR="$PWD/scratch/cache/pip" python -m pip install -r requirements.txt
mkdir -p scratch/cache/{matplotlib,ipython}
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=src \
MPLCONFIGDIR="$PWD/scratch/cache/matplotlib" \
IPYTHONDIR="$PWD/scratch/cache/ipython" \
python -m unittest discover -s testsThe tests use synthetic fixtures and analytical references; private market data is not required. The public clone also includes the report, figures and summary tables. Daily browsing and full historical notebook controls require the retained study and configured validation inputs, which are not distributed with the source.
PYTHONPATH="$PWD/src" MPLCONFIGDIR="$PWD/scratch/cache/matplotlib" \
python -m jupyterlab| Notebook | Purpose |
|---|---|
| Surface explorer | Synchronized dates, surfaces, quote fits, carry, saved deltas and date-matched numerical evidence |
| Historical analysis | Saved comparisons by schedule, cost scenario, sample, grouping and bootstrap block length |
Both read config/notebooks.json. Browsing loads saved models and results; new calibration and PDE-risk experiments have separate commands. Date ranges aggregate pairwise SSE and counts before calculating Gain, with no range confidence intervals or inferred common-entry statistics.
Reproduction instructions cover data locations,
report rendering and verification. The three large summary exports may be stored
as .csv.gz; the reader checks decompressed bytes against their original audit
hashes. Storage maintenance records compression and
restoration without changing the frozen study.
The flat src/ core owns the calculations; scripts and notebooks compose it.
| Responsibility | Source |
|---|---|
| Quotes, carry and selection | market_data.py, carry.py, selection.py |
| AH/SSVI calibration and surfaces | calibration.py, surface.py |
| Forward/backward PDEs and spot Greeks | pde.py, pricing.py |
| Hedge rules, paths and cash accounting | hedging.py, paths.py, ledger.py |
| Historical orchestration and inference | study.py, inference.py |
| Saved inputs and analysis interfaces | artifacts.py, results.py, explorer.py, history_analysis.py |
| Numerical experiments and publication | simulation.py, validation.py, research_validation.py, publication.py |
- Bruno Dupire (1994), Pricing with a Smile, Risk 7(1), 18–20. Paper reprint.
- Jesper Andreasen and Brian Huge (2011), Volatility Interpolation, Risk. Publisher page.
- Jim Gatheral and Antoine Jacquier, Arbitrage-free SVI volatility surfaces. Author manuscript.
- John Hull and Alan White (2017), Optimal Delta Hedging for Options, Journal of Banking and Finance 82, 180–190 (first working version: 2015). Author manuscript.
Kartik Vij




