Commodity Roll Analysis
Performs volatility analysis of historical time series of commodity forward curves.
The historical data is stored in an object with a range of methods that plots, calculates returns, volatility: Simple Moving Average and Exponentially Weighted Moving Average and Principal Component Analysis.
The simple example is used to show how commodity roll, i.e. when the monthly contract expires affects the returns and subsequent volatility profile across tenors.
Run the script:
ReturnAnalysis.m
This will plot the results.
Citar como
Ahmos Sansom (2023). Commodity Roll Analysis (https://www.mathworks.com/matlabcentral/fileexchange/61672-commodity-roll-analysis), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |