Quant Memo
Advanced

COS Method For Option Pricing

The COS method prices options extremely fast by reconstructing an asset's probability density from its characteristic function using a Fourier cosine series, then integrating that density against the option payoff.

Prerequisites: The Black-Scholes Model, Monte Carlo Option Pricing

Many advanced asset-price models (jump-diffusions, stochastic volatility) don't have a simple closed-form option price like Black-Scholes, but they do have a known characteristic function — a Fourier transform of the asset's return distribution that fully describes it, even when the density itself has no simple formula. Monte Carlo simulation can price options under these models but is slow if you need many prices quickly. The COS method offers a much faster alternative: since the characteristic function is essentially the Fourier coefficients of the distribution, it can be used to reconstruct the density as a Fourier cosine series on a bounded interval, and that series can then be integrated term by term against the option's payoff, giving the option price as a fast, finite sum.

v(x)k=0N1Akcos ⁣(kπxaba)v(x) \approx \sum_{k=0}^{N-1} {}' A_k \cos\!\left(k\pi \frac{x - a}{b-a}\right)

In words: the option's value is approximated by summing a modest number of cosine terms AkA_k (computed directly from the model's characteristic function), rather than simulating thousands of random asset paths — the prime on the sum just means the first term is weighted by one-half.

The method is dramatically faster than Monte Carlo for models where the characteristic function is known analytically (like the Heston stochastic-volatility model), often computing prices in milliseconds where simulation would take seconds — the trade-off is that it requires the characteristic function to be available in closed form, and the truncated cosine series introduces a small, controllable approximation error rather than the sampling error of Monte Carlo.

The COS method turns option pricing into a fast Fourier-cosine sum by exploiting a model's known characteristic function, making it the standard fast-pricing tool for models like Heston or Merton's jump-diffusion where Monte Carlo would otherwise be the only option.

Related concepts

Further reading

  • Fang & Oosterlee, A Novel Pricing Method for European Options Based on Fourier-Cosine Series Expansions (2008)
ShareTwitterLinkedIn