Out-of-sample hedge effectiveness backtester
Compare hedge methods on observations that were not used to estimate the initial ratio. The tool reports historical risk statistics, including when hedging increases variance.
Use the calculator below ↓No account required. Your calculator data stay in this browser.
Why separate estimation from evaluation?
A hedge ratio can fit the observations used to estimate it yet perform differently later. This backtester separates the initial training set from the held-out evaluation rows. It calculates all methods over the same test period so the comparison uses a consistent baseline.
Four approaches in one comparison
- Unhedged: the original exposure series over the test period.
- Constant ratio: a ratio you specify, without estimating it from the test rows.
- Initial-training estimate: an OLS ratio calculated only from the initial training set, then held fixed.
- Rolling estimate: a ratio estimated from the preceding window before each test observation; the current test row is excluded from its estimation.
How to run a hedge backtest
Upload paired exposure and hedge prices, returns, or price changes. Choose the data basis, initial training count, and rolling window. The rolling window cannot exceed the initial training count, and at least three test observations must remain. The synthetic example demonstrates the workflow without claiming to represent actual market observations.
Read negative effectiveness correctly
Variance reduction = 1 − hedged test variance / unhedged test variance. For a constructed example, if unhedged test variance is 4 and hedged variance is 16, variance reduction is −300%: the modeled hedge increased variance. Negative results are retained rather than hidden. Standard deviation and variance use the supplied series units, not automatically rupees or percentage points.
Is this a profit-and-loss or investment-return calculator?
No. It evaluates variance of the modeled residual series. It does not calculate a self-financing portfolio return or include transaction costs, collateral, margin, funding, contract rounding, or tax.
Can repeated testing overfit the test period?
Yes. Choosing parameters repeatedly after viewing test results can bias the assessment. Keep an additional untouched validation period where appropriate.
Does this certify hedge-accounting effectiveness?
No. The output is a historical statistical comparison and is not an accounting opinion, product-suitability assessment, or trading recommendation.
Review the minimum-variance estimator for an individual fit, and the methodology page for shared assumptions. A general introduction to time-ordered evaluation is available in Forecasting: Principles and Practice.