Home/Study Plan/Kelly Criterion Derivation
๐Ÿ“ˆ

Kelly Criterion & Bet Sizing

Kelly Criterion Derivation

Medium4โ€“5 hrsKelly CriterionExpected LogGeometric GrowthOptimization

Overview

The Kelly Criterion answers the question: given a bet with positive edge, what fraction of your bankroll maximizes long-run growth? The answer โ€” maximize the expected log of wealth โ€” leads to a clean formula: f* = (pb - q)/b. Kelly is universally used at prop trading firms and hedge funds for position sizing. The critical insight is that over many bets, bankroll growth is MULTIPLICATIVE โ€” so you maximize the geometric mean, not the arithmetic mean. Maximizing E[wealth] (not log) leads to overbetting and eventual ruin.

How to Recognize

  • โ†’'What fraction of your bankroll should you bet?'
  • โ†’You have a positive-edge bet and need to size it
  • โ†’'How do you avoid ruin while maximizing growth?'
  • โ†’Multi-round betting/investment with reinvestment
  • โ†’Any question about balancing risk and return over time

Step-by-Step Approach

  1. 1.Write bankroll after n rounds as Wโ‚€ ร— (1+bf)^{wins} ร— (1-f)^{losses}
  2. 2.Maximize log-growth rate: G(f) = pยทlog(1+bf) + qยทlog(1-f)
  3. 3.Differentiate with respect to f, set to zero
  4. 4.Solve: f* = (pb - q)/b = p - q/b
  5. 5.Check: G(f*) > 0 iff pb > q (positive edge condition)

Key Formulas

01fโˆ—=pbโˆ’qb=pโˆ’qbf^* = \frac{pb - q}{b} = p - \frac{q}{b} โ€” Kelly fraction
02fโˆ—=edgeodds=pbโˆ’qbf^* = \frac{\text{edge}}{\text{odds}} = \frac{pb-q}{b}
03G(fโˆ—)=plnโก(1+bfโˆ—)+qlnโก(1โˆ’fโˆ—)G(f^*) = p\ln(1+bf^*) + q\ln(1-f^*) โ€” growth rate at Kelly
04Evenย oddsย (b=1):fโˆ—=2pโˆ’1=pโˆ’q\text{Even odds }(b=1): f^* = 2p-1 = p-q (net edge)

Worked Examples

0Quick Example
Even odds, p=0.55: f*=2(0.55)โˆ’1=0.10. Bet 10%. Growth rate: 0.55ln(1.1)+0.45ln(0.9)โ‰ˆ0.55(0.095)+0.45(โˆ’0.105)โ‰ˆ0.0051 per round (0.51%/bet).

Problem

You have a biased coin: P(heads) = 0.6. You bet on heads at even odds (win what you wager). What fraction of your bankroll should you bet each round? What is the long-run growth rate?

Solution

1

p = 0.6, q = 0.4, b = 1 (win bforeveryb for every 1 wagered).

2

f* = p - q/b = 0.6 - 0.4/1 = 0.2. Bet 20% of bankroll each round.

3

Growth rate per round: G(0.2) = 0.6ยทln(1.2) + 0.4ยทln(0.8).

4

= 0.6(0.1823) + 0.4(โˆ’0.2231) = 0.1094 โˆ’ 0.0892 = 0.0202.

5

โ‰ˆ 2% growth per round. After 100 rounds: Wโ‚€ ร— e^{100ร—0.0202} โ‰ˆ Wโ‚€ ร— e^2.02 โ‰ˆ 7.5ร— initial wealth.

6

Compare: betting 40% (double Kelly) โ†’ growth rate โ‰ˆ 0 (breakeven). Betting 60%: growth NEGATIVE โ†’ ruin.

Answer

f* = 20%. Growth rate โ‰ˆ 2%/round. After 1000 rounds: wealth grows ~400ร—. At f=40% (double Kelly): no long-run growth. At f>50%: bankrupt despite edge.

Common Mistakes

  • !

    Maximizing E[wealth] instead of E[log(wealth)]. Maximizing E[W] suggests betting 100% (if positive edge), but this leads to ruin almost surely. You must maximize log for long-run growth.

  • !

    Forgetting that f* = 0 when edge = 0. If pb = q, the expected log-growth at any f > 0 is negative. Never bet on a fair game.

  • !

    Using Kelly on correlated bets. The formula assumes independent bets. With correlated positions, the multi-dimensional Kelly (mean-variance optimization) applies.

  • !

    Ignoring estimation error. If your edge estimate is wrong, full Kelly can destroy wealth. Most practitioners use half-Kelly or quarter-Kelly as a safety margin.

Practice Problems

Click "Show Answer" to reveal
1

You have a bet: win 3forevery3 for every 1 risked with P(win) = 0.35. (a) Is the edge positive? (b) What is f*? (c) At f = 2f*, what happens to long-run growth?

Hint: Edge = pb - q = 0.35(3) - 0.65. For (c): at double Kelly, log-growth rate โ‰ˆ 0 (breakeven). Beyond double Kelly: negative growth.
2

A market maker quotes a 2-tick wide spread on an asset. Their model says 60% of trades they facilitate are 'uninformed' (return to mid within 10 min) and 40% are 'informed' (price moves adversely). If uninformed trades profit 0.01andinformedtradeslose0.01 and informed trades lose 0.02, what fraction of the market maker's capital should they deploy per trade?

Hint: Frame as a Kelly bet: p=0.6, b = 0.01 (win), q = 0.4, loss = 0.02. Adjust the formula for asymmetric payoffs.

Only works in the Electron app

<webview> is an Electron-only tag. Run npm run electron:dev to use this.

25:00Focus
0

25 min focus ยท 5 min break ยท long break every 4 sessions

The Ultimate Grind