Stochastic Processes · Martingale Mutiny
Martingale Mutiny Strategy - Stopping Time Guide
Sail a wealth process with a flat positive edge against a proportional storm that halves your hold - and get graded on predicting the recursion's expected value when you choose to stop.

What is the martingale property / optional stopping?
A process Xₙ is a martingale if the expected next value, given everything seen so far, equals the current value: E[Xₙ₊₁ | X₀, ..., Xₙ] = Xₙ. It is the model of a fair game. The past tells you nothing about whether the next move is up or down. A fortune with drift in either direction is not a martingale.
Optional stopping adds a rule for quitting. Say you stop at a random time τ, and the decision to stop uses only what you have seen up to τ, never the future. If τ is bounded, or the process is uniformly integrable, then E[X_τ] = E[X₀]. No exit rule changes the expected result of a fair game.
Exit rules do change the shape of the outcome. A doubling strategy or a stop-loss can make small wins common and large losses rare, or the reverse, while the mean stays where it was. The theorem's conditions matter here. Doubling with unlimited money and unlimited time breaks them, which is why it looks like a sure thing on paper.
In finance, a discounted asset price is a martingale under the risk-neutral measure, and that is the condition that rules out arbitrage. Optional stopping is the tool for early-exercise problems such as American options, where the holder picks the stopping time. Martingale Mutiny itself is not a martingale. It has a positive edge and a proportional shock, and that is what makes the decision to stop worth thinking about.
How it works
Your boat starts with 100 cargo and sails up to 30 legs toward an island at 250 cargo, with a shipwreck line at 15. Each leg one of two things happens. With probability 1 - e^(-λ) (λ = 0.1, about 10% per leg) a storm hits and your cargo is halved. Otherwise it is a calm-water leg: cargo moves by a fixed drift of +8 plus a random term σₙ·z, where z is a standard Normal draw and the spread grows every leg as σₙ = 4·(1.04)ⁿ - later legs are wilder than early ones. Cargo is floored at zero on a calm leg.
You have three moves each leg: sail on, drop anchor, or (for the first 3 legs only) ask to be walked through it. The guided option rolls the real outcome, shows you the exact formula with the actual σₙ and z draw substituted in, and asks you to compute the resulting cargo yourself before it is committed - graded to within 0.5 cargo units against the same rounded numbers you were shown.
The run ends three ways: cargo at or below 15 is a shipwreck, cargo at or above 250 reaches the island, and 30 legs completed means the voyage stops. Dropping anchor is the deliberate ending - but before your haul is tallied you must first predict the theoretical expected cargo E[Xₙ] at your current leg count, with no live readout to lean on. Only then do you see how your prediction, your actual haul, and the recursion compare.
How scoring works
The prediction at anchor is scored by relative error against the exact recursion value: within 5% earns 3 points (Excellent), within 15% earns 2 (Good), within 30% earns 1 (In the ballpark), and worse earns 0 (Off).
Progress tracking records an attempt under the optional-stopping skill: the anchor prediction counts as correct at 2 or more points, and each guided fill-in-the-blank counts as correct within 0.5 cargo of the formula's answer.
Reaching the island or shipwrecking is the random outcome of the voyage and never touches the graded score - only the two computations are graded. The result screen also compares your banked cargo to the theoretical E[Xₙ] and banners you as ahead of or behind theory.
The one-step recursion: conditioning on what can happen
The whole game reduces to one conditional expectation. Given cargo X with shock probability p per leg: with probability p the hold is halved (0.5·X), and with probability 1-p you gain μ = 8 on average (the σₙ·z term has mean zero, so it drops out of the expectation). So E[Xₙ | Xₙ₋₁] = (1-p)(Xₙ₋₁ + μ) + p·(0.5·Xₙ₋₁) = Xₙ₋₁·(1 - p/2) + (1-p)μ.
That is a linear recursion E[Xₙ] = a·E[Xₙ₋₁] + b with a = 1 - p/2 ≈ 0.9524 and b = (1-p)μ ≈ 7.239, starting from E[X₀] = 100. This move - condition on one step, take expectations, get a deterministic recursion - is the single most reusable technique in stochastic process interviews. Any Markov process with a small set of one-step outcomes yields to it.
Note what the recursion ignores: the growing σₙ and the boundaries. The Normal noise is mean-zero so it never enters E[Xₙ], and the recursion is for the unstopped process. The variance growth matters enormously for the distribution of outcomes - it decides how often you hit the island or the reef - just not for the expectation you are asked to predict.
Why the edge stops compounding: the equilibrium ceiling
Because the storm cost is proportional to your hold while the edge is a flat +8, expected cargo does not grow forever. The recursion has a fixed point x* = b/(1-a) = (1-p)μ/(p/2): set E[Xₙ] = E[Xₙ₋₁] and solve. With p ≈ 0.0952, that is about 152 cargo. Above the fixed point, the expected storm loss p·X/2 exceeds the expected calm gain (1-p)μ, so expectation is pulled back down; below it, the edge dominates and expectation rises.
Proportional tail risk caps how much a flat additive edge can grow your expectation. Doubling your hold doubles what a storm takes but does nothing to what a calm leg gives. The island at 250 sits well above the ceiling of ~152, so reaching it means beating the odds; the expected path never gets there.
The convergence is geometric with ratio a ≈ 0.9524: each leg closes about 4.76% of the remaining gap to the ceiling. From 100, the gap is 52, so early legs add about 2.5 to expectation, shrinking every leg after that. This gives you a fast mental model - E[Xₙ] ≈ 152 - 52·(0.9524)ⁿ - that turns the anchor prediction into one exponentiation.
Stopping times and what dropping anchor tests
Dropping anchor is a valid stopping time, because the decision uses only what you have seen so far and never the next leg's outcome. The game makes you predict E[Xₙ] blind before it pays out. That is the habit optional stopping arguments need: reason about the expected value of the stopped process without peeking ahead.
The expectation logic says early legs are cheap to take (expectation rising fast toward the ceiling) and late legs are nearly free in expectation but expensive in variance: σₙ grows 4% per leg, so leg 25 has spread 4·(1.04)²⁵ ≈ 10.7 versus 4.16 on leg 1, and every leg carries the ~10% halving risk against the fixed shipwreck line at 15. Once your hold is large, a single storm costs you far more than the ~2 cargo the next leg adds to expectation.
A sound plan: sail while your hold is below the ~152 ceiling and comfortably above the reef, then treat further legs as paying variance for almost no expectation. When you do anchor, compute the prediction from the recursion. Your realized path is one noisy sample and frequently sits far from E[Xₙ], especially after a storm, and the scoring uses the recursion only.
A worked example
Coefficients of the one-step linear recursion.
The recursion's fixed point - the equilibrium ceiling expected cargo converges toward.
Iterate the recursion starting from E[X₀] = 100.
Continue iterating to leg 5.
Shortcut: the closed gap form reaches the same answer in one calculation.
Grading bands around the prediction of 111.2.
Common mistakes
• Predicting your own current cargo instead of the recursion's E[Xₙ]. The question asks for the theoretical expectation at your leg count; your realized path is one noisy draw around it.
• Compounding the edge forever - estimating E[Xₙ] ≈ 100 + 8n. That ignores the storms entirely and overshoots badly for large n; the true expectation never exceeds about 152.
• Applying the calm-leg drift of +8 as if it happened every leg. The unconditional per-leg gain is (1-p)·8 minus the expected storm loss p·X/2, which shrinks to zero as X approaches the ceiling.
• Letting the σₙ·z term into the expectation. z has mean zero, so the noise term vanishes from E[Xₙ] - it belongs in your risk assessment and drops out of your prediction.
• Sailing on above the ceiling because the edge is positive. Above ~152 the expected storm cost exceeds the flat edge, so each extra leg lowers your expected cargo while the growing σₙ and the halving risk raise your chance of shipwreck.
Why interviews test this
One-step conditioning into a linear recursion E[Xₙ] = a·E[Xₙ₋₁] + b, then solving for the fixed point b/(1-a), is a staple of quant interviews - it is the same machinery behind gambler's ruin expectations, expected hitting times, and AR(1) processes, where the fixed point is the stationary mean.
Interviewers also like the mix of a proportional loss and a flat gain. It is behind questions on geometric versus arithmetic growth and Kelly sizing, and on why a strategy with positive expected value per step can still be capped or ruinous. Say that the shock is proportional and the edge is flat, so expectation converges to (1-p)μ/(p/2). Then defend dropping anchor as a stopping time that uses no future information. That answers both the computation and the concept.
Play Martingale Mutiny on Outcry
Martingale Mutiny is free to play on Outcry, in the Stochastic Processes section, and every run is timed and scored. Read the guide once, then play Martingale Mutiny and check your score against the strategy above. The guide book has a written guide for every other game, and the practice hub and mock assessments put the same skills under a real screen's clock.