Forecasting commodity Exchange-Traded Funds (ETF) prices

Dean Fantazzini
Sat Apr 02 14:21:09 2016

Idea

Commodity ETF tickers

You can select one of this commodity ETFs:

ETF Ticker
United States Oil Fund USO
United States Natural Gas Fund UNG
United States Gasoline Fund UGA
SPDR Gold Shares GLD
iShares Silver Trust SLV
iPath Bloomberg Copper JJC

App interface:

alt text

Features of the app

  • Prices Plot: it shows a price plot for the selected commodity ETF price, together with a smoothing method: either a linear fit or loess fit

  • Prices Table: it shows the price table data for the selected commodity ETF price.

  • Price forecast plot: it shows the ARIMA forecast for the next 365 days as a blue line, 80% confidence interval is displayed in orange, while 90% is in yellow.

  • Price forecast table: it displays the forecasted prices in a table format.

Features of the app (continued)

  • Autocorrelations residuals: it plots the Auto-Correlation Function (ACF) and the Partial ACF (PACF) for the ARIMA model residuals.

  • Best ARIMA model: it shows the estimated model using the auto.arima function from the forecast package.

  • First differences plot: It plots the first differences for the selected commodity ETF price and the first differences for the logarithm base 10.