# Heston Model Closed-Form Solution¶

## Overview¶

The Heston Model , published by Steven Heston in paper “A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options” in 1993 [HEST1993] , extends the well-known Black-Scholes options pricing model by adding a stochastic process for the stock volatility.

The stochastic equations of the model, and the partial differential equation (PDE) derived from them, are shown in the section on the Heston Model under “Models”. There are a number of ways in which the equations may be solved, including Monte-Carlo and Finite-Difference methods. Here, we show the closed-form solution originally obtained in [HEST1993] - sometimes referred to as the “semi-analytic” solution since an analytic solution of its integrals is not known.

The expression for a European Call option, derived from the Heston PDE, is shown below, (in the form presented by Crisostomo in [CHRSO2014] ):

$C_0 = S_0.\Pi_1 - \mathrm{e}^{-rT}K.\Pi_2$

where here and in the following: $$T$$ (and $$t$$) = Time to Expiration; $$K$$ = Option Strike Price; $$S_0$$ = stock price at $$t = 0$$; $$r$$ = interest-rate; $$V_0$$ = stock-price variance at $$t = 0$$; $$\eta$$ = “volatility-of-volatility” (elsewhere $$\sigma$$); $$a$$ = rate-of-reversion (elsewhere $$\kappa$$); $$\tilde{V}$$ = long-term average variance (elsewhere $$\theta$$); $$\rho$$ = correlation of $$z_1(t)$$ and $$z_2(t)$$ processes.

Using a solution based on Characteristic functions, the values of probabilities $$\Pi_1$$ and $$\Pi_2$$ are given by:

$\Pi_1 = \frac{1}{2} + \frac{1}{\pi} \int_0^\infty Re\left[\frac{\mathrm{e}^{-i.w.ln(K)}.\Psi_{lnS_T}(w - i)}{i.w.\Psi_{lnS_T}(-i)} \right]\mathrm{d}w$
$\Pi_2 = \frac{1}{2} + \frac{1}{\pi} \int_0^\infty Re\left[\frac{\mathrm{e}^{-i.w.ln(K)}.\Psi_{lnS_T}(w)}{i.w} \right]\mathrm{d}w$

where the Characteristic function ψ is:

$\Psi_{lnS_T}(w) = \mathrm{e}^{[C(t,w).\tilde{V} + D(t,w).V_0 + i.w.ln(S_0.\mathrm{e}^{rt})]}$

where:

\begin{align}\begin{aligned}C(t,w) = a.\left[r_-.t - \frac{2}{\eta^2}.ln\left(\frac{1 - g.\mathrm{e}^{-ht}}{1 - g}\right)\right]\\D(t,w) = r_- .\frac{1 -\mathrm{e}^{-ht}}{1 - g.\mathrm{e}^{-ht}}\\r_{\pm} = \frac{\beta \pm h}{\eta^2}; h = \sqrt{\beta^2 - 4.\alpha.\gamma}\\g = \frac{r_-}{r_+}\\\alpha = -\frac{w^2}{2} - \frac{iw}{2} ; \beta = \alpha - \rho.\eta. i. w ; \gamma = \frac{\eta^2}{2}\end{aligned}\end{align}

To obtain a solution for Call $$C_0$$ the integrands in the $$\Pi_1$$ and $$\Pi_2$$ terms must be evaluated using a selected numeric integration technique suited to integration from 0 to ∞, and the internal characteristic function terms must be obtained using complex-number computation.

## References¶

 [HEST1993] (1, 2) Heston, S. L., “A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options”, The Review of Financial Studies (1993)
 [CHRSO2014] Crisostomo, R., “An Analysis of the Heston Stochastic Volatility Model: Implementation and Calibration using Matlab”, CNMV Working Paper 58: 1-46, (2014).