The Cross-Hedge Lab
CH

The Cross-Hedge Lab

FDRM · IIM Tiruchirappalli
1

Describe your exposure

! A regression only gives the right hedge ratio when both price series are in the same unit. Mixing $/gallon against $/barrel silently scales your hedge ratio by the conversion factor — divide one series first if your two assets are quoted in different units. The contract size for the loaded Reliance sample (500) is backed out from your own file's turnover ÷ number of contracts ÷ price — NSE revises futures lot sizes periodically, so re-check it on nseindia.com before using this for a live hedge rather than a class exercise.
2

Upload price history

A CSV with a date column and one price column per asset — monthly, weekly or daily levels all work. Or start from the illustrative sample already loaded below.

Drop a CSV here, or click to choose a file
Columns: date, spot price, futures price — any header names, any order.
Using: real NSE data — Reliance Industries spot vs. its near-month futures, 29 Jun–25 Aug 2026 (42 trading days, supplied by the instructor from an NSE download).
Date column
Spot price column (asset to hedge)
Futures price column (hedge instrument)
! Direct hedge vs. cross-hedge. Reliance spot vs. Reliance futures is a direct hedge — the same asset against its own futures, so β sits near 1, R² is high, and basis risk is small. Reliance spot vs. Brent crude is a cross-hedge candidate — different asset classes, and the real 2026 data shows why you always check R² before trusting a hedge ratio: correlation comes out weak (R² ≈ 9%), meaning crude alone is a poor proxy for Reliance's price risk over this window. That sample also mixes ₹ and $ without conversion — a second, separate problem from the weak correlation, and worth having students untangle which is which.
3

Current hedge ratio — rolling

The number to actually trade on: β re-estimated on only the most recent window of data, the same way the backtest below re-estimates it at every step. This is the one figure to quote in class or in a workbook — never the full-sample average further down, which blends regimes that may no longer apply.

Current hedge ratio (rolling β) — contracts of hedge instrument per unit of exposure
Correlation ρ (same window) — strength of the relationship
Fit in this window (R²) — share of price-change variance explained
Contracts to trade now (N*) — —
Window used — —
4

Full-sample regression — diagnostic only

Fitted across every period uploaded. Useful for reading the overall relationship and drawing the scatter below — not the number to size a live hedge with, since it averages across whatever regimes the data happened to contain.

Full-sample β —
Full-sample ρ —
Full-sample R² —

—

Price-change relationship — full sample

Every point is one period's change. Gold points fall inside the current rolling window above; the line is the full-sample fit.
Current rolling window Earlier periods Full-sample fit line

Out-of-sample backtest: hedged vs. unhedged

The hedge ratio is re-estimated on the trailing window set in Step 3 and applied only to the next period — no lookahead. A negative number below means the hedge added risk instead of removing it, which can genuinely happen with a weak or unstable proxy — it isn't a display error.
variance reduction —
Unhedged cumulative P&L Hedged cumulative P&L
Curated by Prof. Shalini Velappan, IIM Trichy · LiFin Lab