Fourier Transform and Applications for Option Pricing

June 3, 2024

The spectral decomposition of a period function via Fourier series can be generalised to any integrale function via the Fourier transform.

\hat(f)(\xi)=\int_{-oo}^{+oo}f(x)*e^{-i*\xi*x}*dx

And we can recover the initial function from its frequency domain representation by applying the Fourier inversion theorem.

f(x)=1/{2pi}*\int_{-oo}^{+oo}\hat{f}(\xi)*e^{i*\xi*x}*d\xi

The characteristic function of a stochastic variable is the Fourier transform of its density function.

\Phi_X(u)=E(e^{iuX})=\int_{-oo}^{+oo}e^{iux}*f_X(x)*dx

While it is often difficult to find the distribution function for a few stochastic processes, it is more simple to get their characteristic function, as it can be derived as the solution of a partial differential equation using the Feynman Kac theorem (see for example Cornelis W Oosterlee, Lech A Grzelak (2020): “Mathematical Modeling And Computation In Finance” ).

And if we know the characteristic function we can recover the density function by applying the Fourier inversion theorem.

f_X(x)=1/(2pi)*\int_{-oo}^{+oo}e^{-iux}*\Phi_X(u)du

And we can easily derive the price of a call option using the characteristic function instead of the density function of the log of the asset price with a semi-analytic solution (see for example Ricardo Crisóstomo (2014), “An Analysis of the Heston Stochastic Volatility Model: Implementation and Calibration using Matlab”).

The price of the call option has a similar expression as in the Black-Scholes formula, instead of using the density function, the probabilities are calculated with an integral via the characteristic function.

C_0=S_0*\Pi_1-e^{-r*T}*K*\Pi_2

\Pi_1=1/2+1/pi*\int_0^{+oo}Re[{e^{-i*u*ln(K)}*\Phi_ln(S_T)(u-i)}/{i*u*\Phi_ln(S_T)(-i)}]*du

\Pi_2=1/2+1/pi*\int_0^{+oo}Re[{e^{-i*u*ln(K)}*\Phi_ln(S_T)(u)}/{i*u}]*du

This is typically the case for the Heston model (see Heston, Steven L. (1993), “A closed-form  solution for options with stochastic volatility with applications to bond and currency options”).

In the Heston model, under the risk neutral probability, the dynamic of the asset price and its variance can be expressed as:

dS_t=\mu*S_t*dt+\sqrt(\nu_t)*S_t*dW_t^1

d\nu_t=\kappa*(\theta-\nu_t)*dt+\xi*sqrt(\nu_t)*dW_t^2

dW_t^{1,Q}*dW_t^{2,Q}=\rho*dt

Here is the expression of the characteristic function of the log price under the Heston model:

The computation of the Discrete Fourier Transform (DFT) can be time consuming with O(N2) complexity. The Fast Fourier Transform (FFT) are efficient algorithms for reducing the complexity from O(N2) to (O(N.log(N)). They work by dividing the DFT problem into smaller sub-problems (divide-and-conquer) and recursively computing them, with a significant reduction in the number of arithmetic operations (reference: https://en.wikipedia.org/wiki/Fast_Fourier_transform).

To go further...