Precursor
Cross-Asset Momentum Spillover from Commodities to Sector Equities via Granger Causality
Highlights
- ❀ All five hypothesised commodity-to-equity spillover relationships confirmed at the 5% significance level, from Gold→GDX (F=18.90, p<0.001) to NatGas→XLE (F=2.43, p=0.046)
- ❀ Forecast Error Variance Decomposition shows commodity shocks explain 46.4% of GDX momentum variance and 31–37% of XLE momentum variance at short horizons
- ❀ Rolling Granger tests and Chow structural break analysis reveal the causal relationships are regime-dependent, not structurally persistent — near-universal breaks around the 2022 energy crisis
- ❀ A signal-based long/short backtest confirms regime-conditionality: positive Sharpe ratios during 2020–2022 COVID volatility, deteriorating in the post-energy-crisis period
Abstract
This paper investigates whether momentum in commodity futures markets contains statistically significant predictive information about subsequent momentum in related sector equity ETFs. Using daily data from January 2010 to May 2026 across five commodity-equity pairs, we apply Granger causality testing, Vector Autoregression (VAR), and Directed Acyclic Graph (DAG) analysis to characterize the cross-asset causal structure.
We find that all five hypothesised commodity-to-equity spillover relationships are confirmed at the 5% significance level, with Gold→GDX producing the strongest signal (F=18.90, p<0.001) and NatGas→XLE the weakest (F=2.43, p=0.046). Forecast Error Variance Decomposition reveals that commodity shocks explain 46.4% of GDX momentum variance and 31–37% of XLE momentum variance at short forecast horizons.
Rolling Granger tests and Chow structural break analysis show that the causal relationships are regime-dependent rather than structurally persistent: near-universal structural breaks are detected around the 2022 energy crisis across all pairs, while COVID-era breaks affect energy and materials pairs but not Gold→GDX. A signal-based long/short backtest confirms the regime-conditionality of the spillover — strategies achieve positive Sharpe ratios during the COVID volatility regime (2020–2022) but deteriorate in the post-energy-crisis period. These findings suggest that commodity-to-equity momentum spillover is a genuine but time-varying causal phenomenon, activated by macro-structural shocks rather than operating as a continuous arbitrage.
Motivation
Commodities are upstream inputs to the businesses that consume them. If oil prices begin trending, energy company revenues should follow — but with a lag. This project investigates whether commodity momentum statistically precedes sector equity momentum, quantifies the lag structure, and tests whether that predictive precedence is exploitable as a trading signal.
Research question: Does past momentum in commodity markets contain information about future momentum in related equity sectors, beyond what equity prices already reflect? Concretely — does WTI crude momentum at time predict XLE (energy ETF) momentum at time , for some lag trading days?
Methodology
1. Momentum Signal Construction
For each asset at time , the momentum signal is the rolling log return over a lookback window :
where is the daily log return and is the closing price of asset on day . Signals are computed across three lookback windows: trading days.
2. Granger Causality
The core statistical test. For a commodity series and equity series , we test whether lagged values of improve the forecast of beyond 's own history.
Restricted model (null — does not Granger-cause ):
Unrestricted model (alternative — Granger-causes ):
We reject the null (i.e., conclude Granger-causes ) if the coefficients are jointly significant via an F-test:
where and are the residual sum of squares for the restricted and unrestricted models, is the lag order, and is the number of observations. The test is run across lag orders , reporting the F-statistic and p-value for each pair.
3. Vector Autoregression (VAR)
To model the joint dynamics of commodity and equity momentum simultaneously, we estimate a VAR() system:
where is the vector of momentum signals, are coefficient matrices at lag , and . The off-diagonal elements of capture cross-asset predictability — specifically, measures how much commodity momentum at lag predicts equity momentum today.
Lag order is selected by minimizing the Akaike Information Criterion (AIC):
where is the number of series and is the sample length.
4. DAG Construction
We model the causal structure across all asset pairs as a Directed Acyclic Graph :
- Nodes (): each asset (WTI, Brent, copper, natural gas, gold, XLE, XLB, GDX)
- Directed edges (): if Granger-causes at significance level
- Edge weights: the F-statistic of the significant Granger test at the optimal lag
The DAG is constructed using networkx, with edge weights normalized to for visualization. We also compute in-degree centrality (which equity sectors receive the most predictive signal), out-degree centrality (which commodities are the strongest leading indicators), and path length (the number of hops in indirect spillover chains, e.g. oil → copper → materials).
5. Signal-Based Backtest
We construct a simple long/short strategy based on the commodity momentum signal:
where is the lag at which Granger causality is strongest. The daily strategy return is:
Performance is evaluated via the annualized Sharpe ratio:
maximum drawdown:
where is the cumulative return series, and the hit rate (fraction of days where ).
Asset Universe
| Category | Ticker | Description |
|---|---|---|
| Commodity | CL=F | WTI Crude Oil futures |
| Commodity | BZ=F | Brent Crude futures |
| Commodity | HG=F | Copper futures |
| Commodity | NG=F | Natural Gas futures |
| Commodity | GC=F | Gold futures |
| Equity ETF | XLE | Energy Select Sector SPDR |
| Equity ETF | XLB | Materials Select Sector SPDR |
| Equity ETF | GDX | VanEck Gold Miners ETF |
Hypothesised spillover pairs: WTI/Brent → XLE (oil → energy equities), Copper → XLB (copper → materials equities), Gold → GDX (gold → gold miners).
Stack
| Purpose | Library |
|---|---|
| Data | yfinance, pandas-datareader |
| Wrangling | pandas, numpy |
| Statistics | statsmodels (VAR, Granger, OLS) |
| Graph | networkx |
| Visualization | matplotlib, seaborn, plotly |
| Notebook | jupyter, nbconvert |
Data Range
Daily OHLCV from January 2010 to present, sourced via yfinance. Approximately 3,500 trading days — sufficient for stable VAR estimation and out-of-sample backtesting with an 80/20 train/test split.
References
- Granger, C.W.J. (1969). Investigating Causal Relations by Econometric Models and Cross-spectral Methods. Econometrica, 37(3), 424–438.
- Lütkepohl, H. (2005). New Introduction to Multiple Time Series Analysis. Springer.
- Sims, C.A. (1980). Macroeconomics and Reality. Econometrica, 48(1), 1–48.
Stack