Kelly criterion simulator
A positive expected value identifies a favorable bet; it does not determine how much of a bankroll can safely be exposed to it. This simulator applies different staking rules to the same opportunities and the same sequences of wins and losses, isolating the consequences of money management.
The comparison is paired: simulated player 1 receives exactly the same opportunities and outcomes under every strategy, as does simulated player 2, and so forth. Only the amount wagered changes.
Practical analysis: Odds.school.
Every faint line is one persistent simulated player. A path that reaches the bankruptcy boundary remains visible; failed players are not removed. Log views place balances at or below 0.01% of the starting bankroll on that plotting floor; Bankroll and Multiple of start retain their signed values.
Population, not one player: at any given bet, P25 is the bankroll below which 25% of simulated players lie at that moment. A percentile curve can contain different players at different bets and is not an individual history. Minimum and maximum are unstable sample extremes.
Each box describes the sampled final bankrolls: P10–P90 whiskers, P25–P75 box, median line and mean dot. The default log scale compresses absolute distances; Bankroll shows the sample’s absolute mean–median gap. That gap alone does not identify a few exceptional winners as its cause.
| Strategy | P10 | Median | Mean | P90 | Ever reached practical bankruptcy | Finished below start | Median maximum drawdown | Maximum wager bound |
|---|
The median describes the typical simulated player. The mean answers a different question and may be dominated by a small number of exceptionally large bankrolls.
This curve evaluates expected logarithmic return from the configured opportunities for multiples from zero to three times the estimated Kelly fraction, before wager caps and funding controls. Under correct true probabilities and the positive-edge single-bet model, full Kelly maximizes that objective. With estimated probabilities, the actual maximizing multiple can move in either direction or fall outside the displayed range. Growth and acceptable exposure are different objectives.
Interpretation: the selected environments impose positive true expected return per unit. Realized profits and ability to continue funding bets remain uncertain. An inaccurate estimate can still select a genuinely positive-value bet; choosing stakes alone does not create a conditional expected-return edge.
Classic Martingale multiplies the base stake after consecutive losses. Odds-adjusted recovery proposes a stake targeting losses since the last win plus its target profit at the current odd. Selected caps, minimums and funding rules determine the amount actually wagered. In this experiment both progression cycles reset after any win; a capped win need not repay previous losses.
For example, with target ¤5, decimal odd 1.50 and maximum stake ¤20, the first recovery proposal is ¤5 / .50 = ¤10. After losing ¤10, the next proposal is (¤10 + ¤5) / .50 = ¤30, capped at ¤20. After losing that ¤20, the proposal is (¤30 + ¤5) / .50 = ¤70, again capped at ¤20. A win then earns ¤20 · .50 = ¤10 against ¤30 of previous losses, leaving −¤20 for the cycle. The next cycle resets its proposal to ¤10 here.
