Skip to content
All library documents

Practical Heston Calibration: Data Selection, Loss Functions, and Stability

Article Quant Q&A · Author: bcf

Summary

The document explains how practitioners calibrate Heston option pricing models to market quotes. The usual approach is to fit a single day of sufficiently liquid options, rather than combining quotes from multiple days: prices can differ across dates, and a combined fit may fail to match any one market surface or preserve static arbitrage. Bid-ask spreads and vega can help determine quote weights, and using strikes beyond at-the-money helps capture more of the surface.

Calibration typically minimizes errors between market and model prices or implied volatilities, using squared, absolute, or relative errors with optional weights. Parameter constraints must be respected, and there is no agreed best loss function; the document cites research arguing that calibration and model evaluation should use consistent objectives. It also warns that the objective can have many local minima, so small quote changes may cause large parameter shifts. Parameter uncertainty and scenario bumps can be informative, while complex multi-asset models often require constrained ranges or historically estimated parameters. The discussion is practical guidance, not a universal recipe, and notes that uncertainty estimation can be costly.

Key ideas

  • Calibrations commonly use the latest day's liquid option quotes, with weights that can reflect bid-ask spreads and vega.
  • Combining prices from different days can produce a poor fit and may not yield an arbitrage-free surface.
  • Calibration objectives can minimize errors in option prices or implied volatilities, with several possible error measures.
  • Heston parameters must satisfy model constraints, and the best loss function is not settled.
  • Local minima can make fitted parameters jump even when the observed volatility surface changes modestly.

Tags

Full text
# Option Pricing Model Calibration In Practice


# Option Pricing Model Calibration In Practice












I'm curious how an option pricing model like the Heston model is calibrated in practice.

Here's how I imagine it happens:

Let's say I have access to the most recent option prices on a given stock for $n$ strikes and $m$ expirations dates for each strike. Let now say it's the end of the business day, so I have a set of $n \times m$ closing prices $p$ each given by $p(K,\tau)$. The collection of all closing prices would be denoted $\{p(K_i,\tau_j)\}_{i,j=1}^{n,m}$.

I'm going to need to price options on this stock tomorrow, so let's calibrate Heston's model to this most recent closing data. For this, use some method of least squares optimization, finding the parameter values that best describes the price data. Whatever method I use, I calibrate Heston's model to the $n \times m$ data points of today.

Now, let's say I also have access to previous days' closing prices, say $d$ days, each with $n \times m$ prices. That's $d \times n \times m$ closing prices.

- Should I include all $d \times n \times m$ closing prices in my calibration? That is, should I try to fit Heston's model to $d \times n \times m$ data points? This seems like it would better capture the recent history of the option prices.

- Or, should I stick with the most recent data, perhaps relying on some efficient markets idea to argue this is all I need?

- Or, perhaps calibrate the model $d$ times, once to each day of data, build a distribution of parameters and pick the most likely parameters?

- Or,...

It seems there are many methods for calibration. I'd be excited to hear from those with experience on how they have seen it done!

## Answer by Olaf (score 7)

https://quant.stackexchange.com/a/18526

The typical approach is: you only use option data from the last day. Furthermore, you only include those points that are liquid enough. One approach to this is to weigh the modelling error of an option by its bid-ask spread and vega.

Using data from multiple days is not a good approach, because you might have options with the same strike but different prices. The calibration might then get stuck at a point where neither market price is recovered by the calibrated model. Furthermore, there is no guarantee that option data taken over multiple days can form an arbitrage-free surface.

For liquid options the most recent data is enough, provided you don't just have at-the-money strikes.

It is not common for institutes to look at the uncertainty on the calibrated model parameters, but this is definitely a good thing to do. It might be difficult and time-consuming to implement a Bayesian-like optimization scheme though, which is why it is usually not done. It is more important to look at the effect of "what happens if I bump the volatility surface by 1%", or what happens if the interest rate shifts up or down by 10 bp.

Furthermore, the loss function usually has many local minima, and small changes in the option prices might put the global minimum in a completely different region in the parameter space. Put differently: smooth deformations of the market option prices can induce very discontinuous behaviour in the calibration parameters. As a result model parameters can jump on a day-to-day basis, even though the implied volatility surface hasn't change that much.

For more complicated models, that involve multiple underlying (e.g. interest rates and stocks: a Hull-White Heston model) it really becomes an art to properly calibrate the model. You often see that parameters like correlation are replaced by historical estimates instead, and the range of other parameters are severely restricted, simply because you might have a global minimum in a region with very unlikely parameters. It takes quite a bit of experience to figure out what instruments you should include in the calibration procedure.

See also this work by Homescu:

http://arxiv.org/abs/1107.1834

## Answer by user16651 (score 6)

https://quant.stackexchange.com/a/18520

The Heston model is represented by the bivariate system of stochastic differential equations (SDE) \begin{align} & d{{S}_{t}}=rS_tdt+{\sqrt\upsilon_t} d{{W}_{1}}(t) \\ & d{{\upsilon}_{t}}=\kappa(\theta-\upsilon_t) dt+\sigma{\sqrt\upsilon_t}d{{W}_{2}}(t) \\ \end{align} The most popular way to estimate the parameters of the Heston model is with loss functions. This method uses the error between quoted market prices and model prices, or between market and model implied volatilities. The parameter estimates $\hat\Theta=(\hat\kappa, \hat\theta,\hat\sigma,\hat\upsilon_o,\hat\rho)$ are those values which minimize the value of the loss function, so that the model prices or implied volatilities are as close as possible to their market counterparts. A constrained minimization algorithm must be used in this regard so that the constraints on the parameters \begin{align} \kappa>0\ ,\ \theta>0\ , \ \sigma>0 \, \ ,\upsilon_0>0 \, \ , \,\rho\in[-1,1] \end{align} are respected. Since loss functions use market option prices (or implied volatility derived from those prices) as inputs, they produce estimates of the risk-neutral parameters of the Heston model.Suppose we have a set of $N_T $ maturities $\tau_i$($ i=1,2,...,N_T)$ and set $N_K$ strikes $K_k$ ($k=1,2,...,N_k$).For each maturity For each maturity-strike combination $(\tau_t,\ K_k)$ we have market price $P(\tau_t , K_k)$ and a corresponding model price $P(\tau_t , K_k;\Theta)=P_{t,k}^{\Theta}$ generated by the Heston model. Attached to each option is an optional weight $w_{t,k}$ . There are many possible ways to define a loss function, but they usually fall into one of two categories: those based on prices, and those based on implied volatilities. The first category of loss functions are those that minimize the error between quoted and model prices. The error is usually defined as the squared difference between the quoted and model prices, or the absolute value of the difference; relative errors can also be used. For example, parameter estimates obtained using the mean error sum of squares (MSE) loss function are obtained by minimizing \begin{align} \frac{1}{N}\sum_{t,k}w_{t,k}(P_{t,k}-P_{t,k}^{\Theta})^2 \end{align} with respect to $\Theta$ where $N$ is the number of quotes. The relative mean error sum of squares (RMSE) parameter estimates are obtained with the loss function \begin{align} \frac{1}{N}\sum_{t,k}w_{t,k}\frac{(P_{t,k}-P_{t,k}^{\Theta})^2}{P_{t,k}} \end{align} The second category of loss functions are those that minimize the error between quoted and model implied volatilities. Again, the error is usually defined as the squared difference, absolute difference, or relative difference, between quoted and model implied volatilities. This category of loss function is sensible, since options are often quoted in terms of implied volatility, and since the fit of model is often assessed by comparing quoted and model implied volatilities. Hence, for example, the implied volatility mean error sum of squares (IVMSE) parameter estimates are based on the loss function \begin{align} \frac{1}{N}\sum_{t,k}w_{t,k}(IV_{t,k}-IV_{t,k}^{\Theta})^2 \end{align} where $IV_{t,k}$ and $IV_{t,k}^\Theta$ are are the quoted and model implied volatilities, respectively. The relative and absolute versions can also be used.Estimation of the Heston model parameters by loss functions has been used by Bakshi, Cao, and Chen (1997), Bams et al. (2009), Christoffersen and Jacobs (2004), Mikhailov and No¨ gel, (2003), and many others. There is no consensus on which loss function is the best one, but Christoffersen and Jacobs (2004) point out that the same loss function should be used for parameter estimation and for evaluating model fit.

## Answer by lehalle (score 5)

https://quant.stackexchange.com/a/18402

I know two papers explaining how to calibrate this kind of models, and one of them explain the impact of the quality of the fit on a pricing model:

- Aït-Sahalia, Y. (2002, January). Maximum likelihood estimation of discretely sampled diffusions: A closed-form approximation approach. Econometrica 70 (1), 223-262.

- Azencott, R., Y. Gadhyan, and R. Glowinski (2014). Option pricing accuracy for estimated heston models. International Journal of Theoretical and Applied Finance.

I guess you should start by the second one. Authors have put numerical examples on the S&P 500 and the VIX.

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.