Clewlow and Strickland Commodity one factor spot model
Introduction
----------------
This code simulates commodity spot prices using the Clewlow and Strickland one factor daily spot model using a Monte Carlo approach. The derived stochastic differential equations (SDEs) are solved using several finite difference schemes.
The paper detailing the equations is available online in ref 1 below.
The example requires a commodity forward curve and assumes a one factor volatility model of the form sigma = A exp(-c(T-t)), where A is the cash volatility, c is the mean reversion rate and T is the maturity.
The code highlights several different finite difference schemes to solve the spot equation applied using a Monte Carlo appraoch.
Numerical finite difference schemes
1 = Euler log transformation
2 = Euler scheme
3 = Semi implicit Euler log transformation
4 = Weak predictor/Corrector on log transformation
Accuarcy can be improved by increasing the number of simulations (nSims) or increasing the number of discrete strips per days (Strips).
Validation
-------------
The spot price paths can be validated using european call and put option valuations based on the analytical formula. Validation assumes an Asian option based on the last 729 days. Analytical formula for a standard European call and put option from Black
and Scholes - see equation 3.6 in ref [1].
References
--------------
Reference 1 details the derivation of the one factor model that is detailed further in Clewlow and Strickland's book referenced in 2. This books is available in pdf from www.lacimagroup.com and the website has available many papers to freely download discussing commodities.
1. http://ideas.repec.org/p/uts/rpaper/10.html
2. "Energy Derivatives: Pricing and Risk Management," Clewlow and Strickland, Lacima Group, 2000.
Zitieren als
Ahmos Sansom (2024). Clewlow and Strickland Commodity one factor spot model (https://www.mathworks.com/matlabcentral/fileexchange/26969-clewlow-and-strickland-commodity-one-factor-spot-model), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Computational Finance > Financial Toolbox >
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Equity Derivatives >
- Computational Finance > Financial Instruments Toolbox > Price Instruments Using Functions > Energy Derivatives >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |