Skip to main content

TL;DR

Optional Stopping Theorem: Under regularity conditions, E[X_T] = E[X_0] for a martingale stopped at time T. This concept is essential for quantitative trading interviews and is frequently tested at top firms.

By Valenke Exam Prep Team·Last updated 2026-06-01
Stochastic Processes

Optional Stopping Theorem

Under regularity conditions, E[X_T] = E[X_0] for a martingale stopped at time T.

Prerequisites

The optional stopping theorem (OST) says: if XnX_n is a martingale and TT is a stopping time satisfying certain regularity conditions, then: E[XT]=E[X0]E[X_T] = E[X_0] Intuition: A martingale has no drift — it's a fair game. The optional stopping theorem says you can't "beat" a fair game by choosing a clever time to stop. No matter how sophisticated your stopping strategy, your expected payoff equals your starting value. The catch — regularity conditions matter! The theorem requires one of: 1. TT is bounded (TNT \leq N for some fixed NN), or 2. E[T]<E[T] < \infty and the increments are bounded, or 3. Xmin(n,T)X_{\min(n,T)} is dominated by an integrable random variable Without these, the theorem fails! (The martingale Sn=XiS_n = \sum X_i with the "double until you win" strategy illustrates the failure.) Concrete example — Gambler's ruin: Start with \$a, bet \$1 on fair coin flips. Stop when wealth hits \$0 or \$N. Wealth is a martingale. By OST: E[XT]=a=0P(ruin)+NP(reach N)E[X_T] = a = 0 \cdot P(\text{ruin}) + N \cdot P(\text{reach } N) So P(reach N)=a/NP(\text{reach } N) = a/N and P(ruin)=1a/NP(\text{ruin}) = 1 - a/N. Another application: For a symmetric random walk, let TT be the first time ST=1S_T = 1. The process Sn2nS_n^2 - n is a martingale. By OST: E[ST2T]=0E[S_T^2 - T] = 0, so E[T]=E[ST2]=1E[T] = E[S_T^2] = 1. The expected time to first reach +1+1 is 1 step. When to use: Computing ruin probabilities, expected hitting times, and absorption probabilities in random walks. Proving that certain gambling strategies can't work. Deriving the gambler's ruin formula. Central to pricing American options (optimal exercise is a stopping time).

Ready to practice for the Valenke Finance Exam?

Adaptive practice powered by Item Response Theory targets your weak areas. Start with 3 free sessions.

Start free practice →