r/mltraders • u/ChromaticPact • 17h ago
Simulated $1,000 across 200 trades on an identical 60/40 edge at four position sizes (5%, Half-Kelly, Full Kelly, 45%) — a visual reminder of how brutal volatility drag gets past 2f*
Everyone knows the textbook Kelly formula f* = (bp - q) / b, yet seeing the pathwise divergence between arithmetic expectation and time-average (ergodic) compounding still catches a lot of intuitive sizing heuristics off guard.
I coded a deterministic simulation walking from negative/zero-EV progression traps (9-step Martingale on a $1–$500 cap, N=1,000) all the way to non-ergodic overbetting on a genuinely profitable 60/40 even-money edge:
- The Non-Ergodicity Trap (p = 0.60, b = 1, staking f = 50% over 100 rounds):
• Ensemble mean across parallel paths: +10%/round → $1,000 × (1.10)^100 = $13,780,612 (13,781x)
• Typical single timeline (exact 60W / 40L): $1,000 × (1.5)^60 × (0.5)^40 = $33.46 (-96.7% drawdown)
2. 200-Round Compounding Race on the exact same shuffled sequence (120 wins / 80 losses, $1,000 start):
• Conservative (f = 5%): $5,762
• Half-Kelly (f = 10%): $20,255 (captures 75% of max log-growth rate g(f) with 25% of the variance)
• Full Kelly (f* = 20%): $56,098 (theoretical peak g(0.20) = +2.01%/round)
• Over-leveraged (f = 45%, past the 38.7% zero-growth cliff): $39 (-96.1% wipeout despite a 60% win rate)
It makes it crystal clear why Thorp and institutional desks treat Half-Kelly as an upper bound once parameter uncertainty enters p and b: underbetting by 50% costs 25% of asymptotic growth, whereas overbetting past 2f* turns a +20% EV signal into mathematical ruin.
If anyone enjoys visual stochastic simulations, I rendered the full 9-minute trajectory breakdown (from Martingale & Doob's Optional Stopping Theorem to the Kelly curve) here: https://youtu.be/bfUaw0pujzE?si=HtGLjd220QtS5H-D