n = 0 / 400
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Martingales & the Optional Stopping Theorem

This simulator races a bundle of independent fair-coin random walks in 3D, each one stopped the instant it first crosses a barrier ±B, and tracks the live sample mean against the theoretical value the optional stopping theorem predicts. It is a direct, hands-on view of a martingale property that underpins fair-game analysis, Wald's identity, and risk-neutral option pricing: no matter how the individual paths wander before they are stopped, their average outcome cannot drift away from the starting value as long as the underlying process stays fair.