Currency risk tools · India

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

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.

Out-of-sample hedge backtester

Compare no hedge, a user-specified constant ratio, a ratio estimated on the initial training set, and a rolling ratio estimated only from observations available before each test row.

Model: residual exposure = exposure series − h × hedge series. Use aligned intervals, compatible quote directions and reporting-currency bases, and the same return scale. Results are risk statistics, not portfolio returns, executable hedge sizes, or hedge-accounting certification. Costs, funding, margin, contract rounding, and transaction constraints are excluded.

Two numeric columns (exposure, hedge), or date plus two numeric columns; optional header. Dates must be ISO YYYY-MM-DD, unique, and increasing. Rows must already be matched. Minimum: three training and three test observations. Rolling window cannot exceed initial training size. For price levels, one input row is lost when calculating returns.

No results yet. Upload historical data or load the explicitly synthetic example.

Every method is evaluated on the same held-out rows. Variance reduction = 1 − hedged test variance / unhedged test variance; negative values mean variance increased. Test-period results can be worse than in-sample fit. Changing settings repeatedly after viewing the test period can overfit that period. Read about time-ordered evaluation ↗