Term Structure of Volatility Calibration

Derives term structure parameters used in Commodity pricing
886 descargas
Actualizado 7 abr 2010

Ver licencia

This code optimises the parameters for the term structure of volatility (TSOV) applied to historical forward curves - see discussion in Harris in reference 1 below.

TSOVs avaible are:
TermType - 1 = sigma = A exp (-CT)
- 2 = sigma = A exp (-CT) + D
- 3 = sigma = (A + BT) exp (-CT) + D

Required data - Local volatility and return data - both assumed annualised.

The optimisation applies the nonlinear least square fitting tool and MLE approach using the fminsearch function - see reference 2.

To run type: TSOVControl

This code can be used to derive TSOV parameters for the Clewlow and Strickland Forward curve or spot models.


1. "Electricity Markets, - Pricing, Structures and Economics, " Chris Harris, Wiley, 2006.

Discussion on MLE vs. FMINSEARCH

2. http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/170041

Citar como

Ahmos Sansom (2024). Term Structure of Volatility Calibration (https://www.mathworks.com/matlabcentral/fileexchange/27185-term-structure-of-volatility-calibration), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Más información sobre Financial Toolbox en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión