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.
引用格式
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. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- 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 >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |