Commodity Roll Analysis

Simple analysis on calculating returns of historical forward curve time series

Ahora está siguiendo esta publicación

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 (2026). Commodity Roll Analysis (https://es.mathworks.com/matlabcentral/fileexchange/61672-commodity-roll-analysis), MATLAB Central File Exchange. Recuperado .

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0