Commodity Roll Analysis

版本 1.0.0.0 (1005.8 KB) 作者: Ahmos Sansom
Simple analysis on calculating returns of historical forward curve time series
62.0 次下载
更新时间 2017/2/20

查看许可证

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.

引用格式

Ahmos Sansom (2024). Commodity Roll Analysis (https://www.mathworks.com/matlabcentral/fileexchange/61672-commodity-roll-analysis), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0