What does Regime Kelly, Drawdown Limits and Lifecycle Leverage conclude, in numbers, about “Ralph Vince's Optimal f: Kelly in Trader's Units, and Its Drawdowns”?
Answer: Chapter 5 checks Ralph Vince's optimal f: growth turns negative above f = 0.594, twice the optimum of 0.300, and when it is estimated from 30 trades half of the estimate does better.
Scope of the numbers: Its model parameters are illustrative or synthetic; the only historical figure is a one-day fall in 1987; all calculations are generated by its programs; the book is not investment, legal or tax advice. Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.300, 0.594
| mean trade 38.5, largest loss 300 | ||||
| optimal f 0.300: one contract per 999 dollars | ||||
| growth turns negative above f = 0.594 | ||||
| f | f/opt | TWR(20) | median MDD | P(MDD>=50%) |
| 0.075 | 0.25 | 1.18 | 0.259 | 0.019 |
| 0.150 | 0.50 | 1.33 | 0.468 | 0.407 |
| 0.300 | 1.00 | 1.45 | 0.760 | 0.976 |
| 0.450 | 1.50 | 1.32 | 0.918 | 1.000 |
| 0.601 | 2.00 | 0.98 | 0.983 | 1.000 |
Show the full program
# Chapter 5. p09: Ralph Vince's optimal f on an illustrative list of 20
# trade results (dollars per contract). Holding period return of a
# trade t at fraction f is 1 + f * t / B, B the largest loss (300): one
# contract is traded for every B / f dollars of equity. Optimal f
# maximizes the geometric mean; TWR is the product over the list.
# Drawdowns at each f are measured on 2,000 sequences of 100 trades
# drawn from the list with replacement, seed 98.
import random
from math import exp, log
TRADES = (250, -100, 80, -150, 400, -120, -90, 60, 300, -200,
150, -80, -110, 500, -60, 90, -140, 70, -300, 220)
B = -min(TRADES)
def g(f):
return sum(log(1 + f * t / B) for t in TRADES) / len(TRADES)
def argmax(fun, lo, hi):
for _ in range(100):
a, b = lo + (hi - lo) / 3, hi - (hi - lo) / 3
lo, hi = (a, hi) if fun(a) < fun(b) else (lo, b)
return (lo + hi) / 2
def max_dd(seq, f):
w = peak = 1.0
dd = 0.0
for t in seq:
w *= 1 + f * t / B
peak = max(peak, w)
dd = max(dd, 1 - w / peak)
return dd
if __name__ == "__main__":
fo = argmax(g, 0.0, 0.999)
lo, hi = fo, 0.999
for _ in range(100):
mid = (lo + hi) / 2
lo, hi = (mid, hi) if g(mid) > 0 else (lo, mid)
print(" mean trade {:.1f}, largest loss {}".format(
sum(TRADES) / 20, B))
print(" optimal f {:.3f}: one contract per {:.0f} dollars".format(
fo, B / fo))
print(" growth turns negative above f = {:.3f}".format(lo))
rng = random.Random(98)
seqs = [[rng.choice(TRADES) for _ in range(100)] for _ in range(2000)]
print(" f f/opt TWR(20) median MDD P(MDD>=50%)")
for k in (0.25, 0.5, 1.0, 1.5, 2.0):
f = k * fo
dd = sorted(max_dd(s, f) for s in seqs)
print(" {:.3f} {:5.2f} {:7.2f} {:10.3f} {:11.3f}".format(
f, k, exp(20 * g(f)), dd[1000],
sum(d >= 0.5 for d in dd) / 2000))Single source and citation
Fan, Y. (2026). Regime-Switching Fractional Kelly, Maximum-Drawdown Constraints and Lifecycle Leverage Allocation (Version 1.0.0), Chapter 5: Ralph Vince's Optimal f: Kelly in Trader's Units, and Its Drawdowns. 5D Library. https://doi.org/10.5281/zenodo.24090256
DOI: 10.5281/zenodo.24090256 · Read the monograph · 5DL-B-098 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026098,
author = {Fan, Yafu},
title = {Regime-Switching Fractional Kelly, Maximum-Drawdown Constraints and Lifecycle Leverage Allocation},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.24090256},
url = {https://doi.org/10.5281/zenodo.24090256}
}Other chapter answers in this book
- Chapter 1 · Full Kelly and the Optimistic Drift: Why a Good Year Breeds Overbetting
- Chapter 2 · Halving and Worse: First Passage of a Kelly Bettor
- Chapter 3 · Hidden Regimes: How Fast a Bear Can Be Recognized and What a Regime-Aware Kelly Buys
- Chapter 4 · Betting Under a Drawdown Limit: The Fraction of Kelly That Keeps a Promise
- Chapter 6 · The Lifecycle Balance Sheet: Human Capital, Early Leverage and the Glide Path
- Chapter 7 · "When Things Flourish They Decline", Feng Xuan's Three Burrows, and Vince Reconsidered
- Chapter 8 · Practice: A Ten-Year Leverage Table, Gap Risk and a Drawdown Warning Rule