Start freeSign in
Research/Glossary/Random walk

Random walk

Reference

A random walk is a price model in which each change is independent of prior changes.

A random walk is a price model in which each change is independent of prior changes. In this model, the next move is not caused by the last move, and past direction does not contain a built in forecast of future direction. For quantitative trading, that makes the random walk a useful null hypothesis. A claimed edge should show evidence that its results are better than what could arise from independent price moves and chance selection.

The mechanism is simple. Start with a price of 100. If the next move is plus 1, the price becomes 101 because 100 + 1 = 101. If the following move is minus 2, the price becomes 99 because 101 - 2 = 99. The second move is a new draw. Its value does not depend on the earlier plus 1 move. Independence means the process does not reward a strategy merely because it found a pattern in the recent path.

This is why the random walk sits at the center of strategy validation. A backtest can look strong even when it reflects noise, repeated trial and error, or parameter choices tuned to historical accidents. An overfitting audit asks whether the observed result is meaningfully different from what one would expect under a no edge baseline. In practice, that means comparing the strategy's observed statistics with a null in which returns are consistent with a random process, then using statistical tests to judge whether the observed result is unusual enough to reject the null.

The logic of the test is not that every market is literally a random walk at every horizon. The logic is that independence is the conservative starting point. If a strategy cannot clear that bar, then its apparent signal may be indistinguishable from randomness. If it does clear that bar, the result is more consistent with a genuine effect than with a fitted accident.

One way to make this comparison more robust is to use the deflated Sharpe ratio. A plain Sharpe ratio summarizes return per unit of volatility, but it can be overstated when many variants, filters, or parameter sets were tried before selecting the final strategy. The deflated Sharpe ratio adjusts the interpretation of an observed Sharpe ratio for multiple testing, non normality, and selection effects. In other words, it asks whether the reported Sharpe remains statistically credible after accounting for the fact that researchers often test many ideas before keeping one.

A worked example shows the adjustment concept. Suppose a strategy reports an observed Sharpe ratio of 1.2 after many specification choices. The deflated Sharpe ratio framework compares that observed value with a higher hurdle implied by the number of trials and the shape of returns. If the effective hurdle were 1.5, then 1.2 is below that hurdle because 1.2 < 1.5, so the observed result would not be strong enough after deflation. If the effective hurdle were 0.9, then 1.2 is above that hurdle because 1.2 > 0.9, so the result would be more consistent with a statistically credible edge. The point of the method is not the raw Sharpe alone. The point is whether the Sharpe survives adjustment for data mining relative to a null benchmark.

For a quantitative trader, this turns the random walk from an abstract theory into a practical audit standard. The null says that price changes are independent and that apparent predictability may be accidental. Backtest testing asks whether a strategy's results depart from that standard by more than chance would plausibly allow. The deflated Sharpe ratio strengthens that check by discounting Sharpe values that could have emerged from repeated searching. Together, these tools help separate a model that is statistically distinguishable from randomness from one that only appears strong because the backtest was fit too closely to history.

Covered in depth in the Strategy research fundamentals pillar hub.

Apply this and the related checks to your own results with the Backtest Overfitting Audit.Open the audit
ShareXLinkedInFacebookEmail