Markets: A Rigorous Course

3.4 Continuous-time Kelly and fractional Kelly

Core about 25 min

Motivation

Stocks and futures are not binary bets. The continuous-time version of Kelly gives the optimal leverage on an asset with drift and volatility, and its closed forms (growth, volatility and drawdown probabilities as functions of the Kelly multiple) are the cleanest guide to sizing a portfolio.

Optimal leverage under GBM#

Setup

A risky asset follows GBM, dSt/St=μ dt+σ dBtdS_t/S_t = \mu\,dt + \sigma\,dB_t; cash earns rr. The investor keeps a constant fraction ff of wealth in the risky asset (so f>1f > 1 is leverage, f<0f < 0 a short), rebalancing continuously. Then

dWtWt=r dt+f(dStSt−r dt)=(r+f(μ−r))dt+fσ dBt.(3.8)\frac{dW_t}{W_t} = r\,dt + f\Big(\frac{dS_t}{S_t} - r\,dt\Big) = \big(r + f(\mu - r)\big)dt + f\sigma\,dB_t. \tag{3.8}

Let S=(μ−r)/σS = (\mu - r)/\sigma be the asset's Sharpe ratio.

Proposition 3.6continuous-time Kelly

Wealth is GBM with drift r+f(μ−r)r + f(\mu - r) and volatility fσf\sigma. Its log grows at

g(f)=lim⁡t→∞1tln⁡WtW0=r+f(μ−r)−12f2σ2a.s.,(3.9)g(f) = \lim_{t\to\infty}\frac1t\ln\frac{W_t}{W_0} = r + f(\mu - r) - \tfrac12 f^2\sigma^2 \quad \text{a.s.}, \tag{3.9}

maximised at

f∗=μ−rσ2,g(f∗)=r+12S2.(3.10)f^* = \frac{\mu - r}{\sigma^2}, \qquad g(f^*) = r + \tfrac12 S^2. \tag{3.10}

Moreover g(2f∗)=rg(2f^*) = r, and g(f)<rg(f) < r for every f>2f∗f > 2f^*; with r=0r = 0, every f>2f∗f > 2f^* has negative growth and Wt→0W_t \to 0 a.s.

Proof

By M02 Proposition 2.3 applied to (3.8), ln⁡(Wt/W0)=(r+f(μ−r)−12f2σ2)t+fσBt\ln(W_t/W_0) = (r + f(\mu - r) - \frac12 f^2\sigma^2)t + f\sigma B_t. Divide by tt and use Bt/t→0B_t/t \to 0 a.s. (strong law for Brownian motion). gg is a concave quadratic in ff with derivative (μ−r)−fσ2(\mu - r) - f\sigma^2, zero at f∗f^*, and g(f∗)=r+(μ−r)2/(2σ2)g(f^*) = r + (\mu-r)^2/(2\sigma^2). Finally g(f)−r=fσ2(f∗−f/2)g(f) - r = f\sigma^2(f^* - f/2), which is zero at f=2f∗f = 2f^* and negative beyond.∎

Equation (3.9) is the discrete second-order picture of 3.3 made exact: m=μ−rm = \mu - r per unit time and v=σ2v = \sigma^2.

Worked example 3.4.1Kelly leverage on the Nifty

Take μ=11%\mu = 11\% (an arithmetic mean close to the Nifty sample's 10.8%, M02 · 2.2), σ=20%\sigma = 20\%, and r=6.5%r = 6.5\% (an assumed risk-free rate in the range of Indian T-bill yields; check the current 91-day yield on RBI's site). Then f∗=0.045/0.04=1.125f^* = 0.045/0.04 = 1.125: Kelly says hold 112.5% of capital in Nifty, financed by borrowing. Growth g∗=0.065+0.5(0.225)2=9.031%g^* = 0.065 + 0.5(0.225)^2 = 9.031\% against g(1)=0.065+0.045−0.02=9.000%g(1) = 0.065 + 0.045 - 0.02 = 9.000\% for an unlevered holding. The extra 0.03% a year comes with 12.5% more volatility: gg is flat near its maximum, so the last part of the way to f∗f^* buys almost nothing. 3.5 shows the inputs are in any case too uncertain to justify it.

Drawdown risk of fractional Kelly#

Proposition 3.7Brownian hitting probability

Let Xt=mt+sBtX_t = mt + sB_t with m>0m > 0, X0=0X_0 = 0, and d>0d > 0. Then

P(inf⁡t≥0Xt≤−d)=e−2md/s2.(3.11)P\big(\inf_{t \ge 0} X_t \le -d\big) = e^{-2md/s^2}. \tag{3.11}
Proof

For any λ\lambda, Zt=exp⁡(λXt−(λm+12λ2s2)t)Z_t = \exp(\lambda X_t - (\lambda m + \frac12\lambda^2s^2)t) is a martingale (the exponential martingale of Brownian motion). Choose λ=−2m/s2\lambda = -2m/s^2, for which λm+12λ2s2=−2m2/s2+2m2/s2=0\lambda m + \frac12\lambda^2 s^2 = -2m^2/s^2 + 2m^2/s^2 = 0, so Zt=e−2mXt/s2Z_t = e^{-2mX_t/s^2}. Fix u>0u > 0 and let τ\tau be the first exit time of XX from (−d,u)(-d, u); τ<∞\tau < \infty a.s. On [0,τ][0, \tau], 0<Zt≤e2md/s20 < Z_t \le e^{2md/s^2}, so the stopped martingale is bounded and optional stopping gives 1=E[Zτ]=Pue2md/s2+(1−Pu)e−2mu/s21 = E[Z_\tau] = P_u e^{2md/s^2} + (1 - P_u)e^{-2mu/s^2}, where Pu=P(X hits −d before u)P_u = P(X \text{ hits } -d \text{ before } u). Solve: Pu=(1−e−2mu/s2)/(e2md/s2−e−2mu/s2)P_u = (1 - e^{-2mu/s^2})/(e^{2md/s^2} - e^{-2mu/s^2}). Letting u→∞u \to \infty, Pu↑P(inf⁡X≤−d)=e−2md/s2P_u \uparrow P(\inf X \le -d) = e^{-2md/s^2}.∎

Proposition 3.8fractional Kelly

Let r=0r = 0 (or measure wealth in units of the cash account) and bet f=cf∗f = cf^*, c>0c > 0. Then (a) log-wealth is Brownian motion with drift mc=S2(c−12c2)m_c = S^2(c - \frac12c^2) and volatility sc=cSs_c = cS; (b) the growth rate is (2c−c2)(2c - c^2) times the full-Kelly rate S2/2S^2/2, and the volatility of wealth is cc times the full-Kelly volatility; (c) for 0<c<20 < c < 2 and x∈(0,1)x \in (0, 1),

P(Wt≤xW0 for some t)=x2/c−1.(3.12)P\big(W_t \le xW_0 \text{ for some } t\big) = x^{2/c - 1}. \tag{3.12}
Proof

(a) Substitute f=c(μ−r)/σ2f = c(\mu - r)/\sigma^2 into (3.9) with r=0r = 0: drift cS2−12c2S2cS^2 - \frac12c^2S^2; volatility fσ=cSf\sigma = cS. (b) Divide mcm_c by S2/2S^2/2. (c) Apply Proposition 3.7 to Xt=ln⁡(Wt/W0)X_t = \ln(W_t/W_0) with d=−ln⁡xd = -\ln x: 2mcd/sc2=2S2(c−c2/2)(−ln⁡x)/(c2S2)=(2/c−1)(−ln⁡x)2m_cd/s_c^2 = 2S^2(c - c^2/2)(-\ln x)/(c^2S^2) = (2/c - 1)(-\ln x), so the probability is e(2/c−1)ln⁡x=x2/c−1e^{(2/c - 1)\ln x} = x^{2/c-1}.∎

cc Growth share Vol share PP(ever lose 20%) PP(ever halve) PP(ever lose 90%)
0.25 0.44 0.25 0.21 0.0078 10−710^{-7}
0.5 0.75 0.5 0.51 0.125 0.001
0.75 0.94 0.75 0.69 0.31 0.022
1 1 1 0.80 0.50 0.10
1.5 0.75 1.5 0.93 0.79 0.46
2 0 2 1 1 1

A full-Kelly bettor halves their wealth at some point with probability one half, and loses 90% with probability one in ten. Half Kelly cuts these to one in eight and one in a thousand, at the cost of a quarter of the growth. These are the numbers Thorp (2006, 7) gives for fractional Kelly, and the tests of Exercise m03_kelly check them by simulating log-wealth with a Brownian-bridge correction for barrier crossings between grid points.

Practitioner notes

  • The table assumes the model is right. In practice μ\mu and σ\sigma are estimated, returns have fat tails and jumps, and rebalancing is discrete. Each of these moves the true cc above the intended cc, which is the argument for betting well below full Kelly.
  • Leveraged index products are fixed-ff strategies. A 2× daily-rebalanced Nifty fund has f=2f = 2 against f∗≈1.1f^* \approx 1.1 in the example above: c≈1.8c \approx 1.8, near the zero-growth boundary before fees.
  • Kelly is equivalent to maximising log utility. Fractional Kelly with cc is approximately optimal for power utility W1−γ/(1−γ)W^{1-\gamma}/(1-\gamma) with relative risk aversion γ=1/c\gamma = 1/c (MacLean, Thorp & Ziemba 2010). Half Kelly is the choice of an investor with γ=2\gamma = 2.

Create a free account

Reading is open to everyone. An account keeps your progress, answers, notes and code drafts, and gives you the study plan, the journals and the simulator. Running code needs an account approved for it.