Optional stopping: when can you stop a fair game?
If a game is fair at every step, can you make its expected payoff positive by choosing when to stop? Optional stopping provides a powerful way to answer that question, but its conditions matter. The same calculation that solves a two-boundary hitting problem fails if you wait without limit for a one-sided target.
Stopping at a boundary changes the win chance
Fair simple random walk started at zero, stopped at +a or −1; bounded stopped outcomes justify the expectation calculation.
What makes a stopping time?
A process is a martingale with respect to an information sequence when it is integrable, known at time , and satisfies
A stopping time is a rule for which the event is known from information available by time . “Stop the first time the walk reaches 5” qualifies. “Stop the day before the highest price this year” generally does not: identifying that day requires future information.
One safe version of optional stopping says that if is bounded by a deterministic integer , then
The proof writes the stopped change as . The decision to continue is known at time , so every term has expectation zero. For an unbounded stopping time, passing from to requires an additional argument; almost-sure finiteness alone is not enough.
Two boundaries: a worked example
Let a fair random walk start at zero and stop when it hits either or . The stopping time is finite almost surely: from any interior state there is a fixed positive chance of reaching a boundary within four steps. The stopped walk is bounded between −2 and +3, so bounded convergence allows us to apply optional stopping to and let grow.
If is the probability of hitting +3 first, then
More generally, with upper boundary and lower boundary for positive integers , the upper hitting probability is . The result uses the terminal values and the martingale property; it does not require enumerating all possible paths.
Why “wait until you win” is different
Now remove the lower boundary and stop a fair random walk when it first reaches +1. The walk reaches +1 almost surely, so the terminal value is 1 almost surely. Yet its initial value is 0. There is no contradiction: the stopping time is unbounded, the stopped values before hitting are not bounded below, and the limiting step in the optional-stopping argument fails. In fact, the expected hitting time is infinite.
The finite versions remain fair: stopping at gives expected value zero for every . Rare paths that have not yet hit +1 can have large losses and offset the frequent +1 outcomes. Almost-sure convergence of stopped values does not by itself guarantee convergence of their expectations.
Conditions before calculation
- A stopping time must be determined by information available at the time of the decision.
- A finite stopping time almost surely is not necessarily bounded, nor does it necessarily have finite expectation.
- A bounded stopping time is one sufficient condition, not the only one. For example, uniform integrability of the martingale is another route under the appropriate theorem.
- In finance, discounted prices may be martingales under a specified pricing measure and assumptions. That is a pricing statement; it does not say real-world expected returns are zero.
Practice
InformationIs the first time a stock price exceeds 100 a stopping time with respect to its observed price history?Show answer
Yes, assuming the price is observed at the decision times: whether the threshold has already been crossed is known from the history so far.
HittingA fair walk starts at zero and stops at +4 or −6. What is the probability it hits +4 first?Show answer
The stopped walk is bounded, and . Hence .
ConditionsWhy can't you conclude E[Mτ] = E[M0] merely because τ is finite almost surely?Show answer
The limit of stopped martingale values need not preserve expectation. An additional condition, such as bounded stopped values in the example, is needed.
Further reading: MIT OpenCourseWare, Introduction to Stochastic Processes, Lecture 18; Doob’s Optional Stopping Theorem.
Related: First-step analysis and the reflection principle.