Skip to content

Biased random walk

A biased random walk favours one step direction. See why positive drift still permits losses, and how explicit trading costs can reverse the expected result.

A biased random walk is a random walk whose step distribution favours a direction. In the standard equal-size, two-direction model, independent steps go up with a fixed probability pp and down with probability 1−p1-p, with p≠1/2p\ne1/2. Its expected position moves through time, even though any particular path can move against that direction.
For a quant, this separates an assumed directional edge from the risk of a realised loss. A model with positive expected gains can still produce a losing run. Whether that assumed edge exists in market data is a separate estimation problem.

What the bias changes

Let a>0a>0 be the size of each step, measured in the same units as the position. Starting from a fixed S0=sS_0=s, define

Sn=s+∑i=1nXi,P(Xi=a)=p,P(Xi=−a)=1−p,S_n=s+\sum_{i=1}^{n}X_i,\qquad \mathbb{P}(X_i=a)=p,\qquad \mathbb{P}(X_i=-a)=1-p,
with independent, identically distributed increments. The mean increment, or per-step drift, is a(2p−1)a(2p-1). Thus
E[Sn]=s+na(2p−1),Var(Sn)=4na2p(1−p).\mathbb{E}[S_n]=s+na(2p-1),\qquad \text{Var}(S_n)=4na^2p(1-p).
The expected value slopes upward for p>1/2p>1/2 and downward for p<1/2p<1/2. At p=1/2p=1/2 this becomes the symmetric random walk, with zero drift. At p=0p=0 or p=1p=1, every step has the same sign and the variance is zero.
Here biased describes the step law. Bias of an estimator describes the difference between an estimator's expectation and its target parameter. A biased random walk need not be estimated with a biased estimator; the same word names different ideas.

Five chances to earn or lose one dollar

Suppose a hypothetical strategy starts at zero and takes exactly five independent trades. Each produces a gross gain of USD 1 with probability 60%, or a gross loss of USD 1 with probability 40%. These probabilities are stipulated, not fitted. There are initially no costs, funding constraints or early stopping.
Each trade has mean USD 0.20 and variance 0.96 USD20.96\text{ USD}^2. After five trades,
E[S5]=USD 1,Var(S5)=4.8 USD2.\mathbb{E}[S_5]=\text{USD }1,\qquad \text{Var}(S_5)=4.8\text{ USD}^2.
The standard deviation is approximately USD 2.191. That is considerable dispersion around a one-dollar expected gain.
Let UU count the profitable trades. Then UU has a binomial distribution with n=5n=5 and p=0.6p=0.6. The numerical result in dollars is S5=2U−5S_5=2U-5. Earning at least USD 3 therefore requires four or five wins:
P(S5≥3)=(54)(0.6)4(0.4)+(0.6)5=0.33696.\mathbb{P}(S_5\geq3) =\binom54(0.6)^4(0.4)+(0.6)^5 =0.33696.
A gross loss requires at most two wins and has probability 31.744%. Zero is impossible after five equal unit steps: every endpoint is an odd number of dollars.
Exact five-step gross results for independent plus-or-minus USD 1 trades, with 60% up probability. The mean is USD 1, but the probability of a gross loss is 31.744%.
Exact five-step gross results for independent plus-or-minus USD 1 trades, with 60% up probability. The mean is USD 1, but the probability of a gross loss is 31.744%.
Original hypothetical model, exact probabilities rather than a simulated histogram. Lighter bars identify negative endpoints; the positive expected result does not exclude losses.
For the general count-to-position construction, Aldridge's university notes, §2.3, derive the exact endpoint law. Counting endpoints does not answer whether a path hit a loss limit earlier; imposing such a stopping rule changes the problem.

Put costs in the increments

Now change one assumption: charge USD 0.30 per trade, on every trade, regardless of outcome. Keep the same five-trade horizon and gross step law. Net increments become USD 0.70 and USD −1.30. The expected net increment is
0.6(0.70)+0.4(−1.30)=−0.10 USD.0.6(0.70)+0.4(-1.30)=-0.10\text{ USD}.
Total fees are USD 1.50, so the expected net result is USD −0.50. A net profit now requires a gross result exceeding USD 1.50, hence at least USD 3 on this lattice. Its probability is the 33.696% calculated above. A win rate above 50% is insufficient by itself: payoff sizes and costs also determine the mean.
The raw biased walk is not a martingale under its natural history: its conditional expected next position differs from its current position by a(2p−1)a(2p-1). Subtracting that accumulated drift gives Sn−na(2p−1)S_n-na(2p-1), a martingale under the stipulated iid model. This mathematical centring does not remove the economic risk from an actual position.
To go beyond the endpoint calculation, SelfMadeQuant's Simple Random Walks — Symmetric and Asymmetric develops the model's step moments, Markov property and long-run behaviour. The full lesson requires membership; the linked page offers a public preview.

Sources

  • Geoffrey Grimmett and David Stirzaker, Probability and Random Processes, 3rd edition, Oxford University Press, 2001, §3.9, pp. 71–72: independent two-direction steps, fixed step probabilities and the unconstrained walk.
  • Matthew Aldridge, MATH2750, Section 2: Random walk, especially §2.3: the binomial count and exact endpoint support.
Last updated
  • stochastic processes
  • random walk
  • drift
  • binomial distribution
  • trading costs
← Back to the glossaryBack to top ↑