arbitrading

Learn

The spread z-score: how far is too far?

Once you have a spread that looks stationary, you need a way to say how unusual today's value is. The standard tool is the z-score.

The formula

z = (spread − mean) / standard deviation

The mean and standard deviation come from a look-back window, for example the last 120 or 252 trading days. A z-score of +2 means the spread is two standard deviations above its recent average: A is expensive relative to B by historical standards. A z-score of −2 means the opposite.

Reading the number

Why ±2 is not magic

Real spreads have fatter tails than a normal distribution, their volatility changes over time, and the mean itself can drift. A lower entry level produces more trades with smaller expected gains; a higher one produces fewer trades that each need a bigger move. Trading costs push the sensible entry level up. The only honest way to pick levels is to test them on history with costs included, and to accept that the past will not repeat exactly.

Look-ahead bias

A z-score chart that uses one mean and one standard deviation fitted on the whole history looks cleaner than anything a trader could have seen in real time. When you backtest, the mean, standard deviation and hedge ratio at each date must come only from data available up to that date. Arbitrading's backtests use a trailing window for exactly this reason.

Your levels, your decision

In Arbitrading you choose your own entry, exit and stop levels on the Alerts page. The app tells you when a spread crosses them. Whether that is a reason to trade is up to you.

Try Pro free for 14 days

More guides