Kelly criterion

From HandWiki
Short description: Formula for bet sizing that maximizes the expected logarithmic value
Example of the optimal Kelly betting fraction, versus expected return of other fractional bets.

In probability theory, the Kelly criterion (or Kelly strategy or Kelly bet) is a formula for sizing a bet. The Kelly bet size is found by maximizing the expected value of the logarithm of wealth, which is equivalent to maximizing the expected geometric growth rate. Assuming that the expected returns are known, the Kelly criterion leads to higher wealth than any other strategy in the long run (i.e., the theoretical maximum return as the number of bets goes to infinity). J. L. Kelly Jr, a researcher at Bell Labs, described the criterion in 1956.[1]

The practical use of the formula has been demonstrated for gambling,[2][3] and the same idea was used to explain diversification in investment management.[4] In the 2000s, Kelly-style analysis became a part of mainstream investment theory[5] and the claim has been made that well-known successful investors including Warren Buffett[6] and Bill Gross[7] use Kelly methods.[8] Also see Intertemporal portfolio choice. It is also the standard replacement of statistical power in anytime-valid statistical tests and confidence intervals, based on e-values and e-processes.

Gambling formula

Where losing the bet involves losing the entire wager, the Kelly bet is:

[math]\displaystyle{ f^* = p-\frac{q}{b} = p - \frac{1 - p}{b} }[/math]

where:

  • [math]\displaystyle{ f^{*} }[/math] is the fraction of the current bankroll to wager.
  • [math]\displaystyle{ p }[/math] is the probability of a win.
  • [math]\displaystyle{ q }[/math] is the probability of a loss ([math]\displaystyle{ q = 1 - p }[/math]).
  • [math]\displaystyle{ b }[/math] is the proportion of the bet gained with a win. E.g., if betting $10 on a 2-to-1 odds bet (upon win you are returned $30, winning you $20), then [math]\displaystyle{ b = \$20/\$10 = 2.0 }[/math].
    The figure plots the amount gained with a win on the x-axis against the fraction of portfolio to bet on the y-axis. This figure assumes p=0.5 (that the probability of both a win and a loss is 50%). If the amount gained with a win is 1, then the Kelly betting amount is $0, which makes sense in a fair bet with no expected gain.

As an example, if a gamble has a 60% chance of winning ([math]\displaystyle{ p = 0.6 }[/math], [math]\displaystyle{ q = 0.4 }[/math]), and the gambler receives 1-to-1 odds on a winning bet ([math]\displaystyle{ b=1 }[/math]), then to maximize the long-run growth rate of the bankroll, the gambler should bet 20% of the bankroll at each opportunity ([math]\displaystyle{ f^{*} = 0.6-\frac{0.4}{1} = 0.2 }[/math]).

The figure plots the amount gained with a win on the x-axis against the fraction of portfolio to bet on the y-axis. This figure assumes p=0.6 (that the probability of both a win is 60%).
3D figure representing the optimal Kelly bet size (vertical axis) as a function of win probability and amount gained with win.

If the gambler has zero edge (i.e., if [math]\displaystyle{ b = q / p }[/math]), then the criterion recommends the gambler bet nothing.

If the edge is negative ([math]\displaystyle{ b \lt q / p }[/math]), the formula gives a negative result, indicating that the gambler should take the other side of the bet. For example, in American roulette, the bettor is offered an even money payoff ([math]\displaystyle{ b = 1 }[/math]) on red, when there are 18 red numbers and 20 non-red numbers on the wheel ([math]\displaystyle{ p = 18/38 }[/math]). The Kelly bet is [math]\displaystyle{ -1/19 }[/math], meaning the gambler should bet one-nineteenth of their bankroll that red will not come up. There is no explicit anti-red bet offered with comparable odds in roulette, so the best a Kelly gambler can do is bet nothing.

Investment formula

A more general form of the Kelly formula allows for partial losses, which is relevant for investments:[9]:7

[math]\displaystyle{ f^{*} = \frac{p}{a}-\frac{q}{b} }[/math]

where:

  • [math]\displaystyle{ f^{*} }[/math] is the fraction of the assets to apply to the security.
  • [math]\displaystyle{ p }[/math] is the probability that the investment increases in value.
  • [math]\displaystyle{ q }[/math] is the probability that the investment decreases in value ([math]\displaystyle{ q = 1 - p }[/math]).
  • [math]\displaystyle{ a }[/math] is the fraction that is lost in a negative outcome.[9]:7 If the security price falls 10%, then [math]\displaystyle{ a = \frac{\text{original value} - \text{final value}}{\text{original value}} = \frac{1 - .9}{1} = 0.1 }[/math]
  • [math]\displaystyle{ b }[/math] is the fraction that is gained in a positive outcome.[9]:7 If the security price rises 10%, then [math]\displaystyle{ b = \frac{\text{original value} - \text{final value}}{\text{original value}} = \frac{1.1 - 1}{1} = 0.1 }[/math].

Note that the Kelly criterion is valid only for known outcome probabilities, which is not the case with investments. In addition, risk averse investors should not invest the full Kelly fraction.

The general form can be rewritten as follows

[math]\displaystyle{ f^{*} = \frac{p}{a} \left( 1 -\frac{1-p}{p} \frac{a}{b} \right) = \frac{p}{a} \left( 1 -\frac{1}{WLP} \frac{1}{WLR} \right) }[/math]

where:

  • [math]\displaystyle{ WLP=p/(1-p) }[/math] is the win-loss probability (WLP) ratio, which is the ratio of winning to losing bets.
  • [math]\displaystyle{ WLR=b/a }[/math] is the win-loss ratio (WLR) of bet outcomes, which is the winning skew.

It is clear that, at least, one of the factors [math]\displaystyle{ WLP }[/math] or [math]\displaystyle{ WLR }[/math] needs to be larger than 1 for having an edge (so [math]\displaystyle{ f^{*}\gt 0 }[/math]). It is even possible that the win-loss probability ratio is unfavorable [math]\displaystyle{ WLP \lt 1 }[/math], but one has an edge as long as [math]\displaystyle{ WLP * WLR \gt 1 }[/math].

The Kelly formula can easily result in a fraction higher than 1, such as with losing size [math]\displaystyle{ a \ll 1 }[/math] (see the above expression with factors of [math]\displaystyle{ WLR }[/math] and [math]\displaystyle{ WLP }[/math]). This happens somewhat counterintuitively, because the Kelly fraction formula compensates for a small losing size with a larger bet. However, in most real situations, there is high uncertainty about all parameters entering the Kelly formula. In the case of a Kelly fraction higher than 1, it is theoretically advantageous to use leverage to purchase additional securities on margin.

Betting example - behavioural experiment

In a study, each participant was given $25 and asked to place even-money bets on a coin that would land heads 60% of the time. Participants had 30 minutes to play, so could place about 300 bets, and the prizes were capped at $250. But the behavior of the test subjects was far from optimal:

Remarkably, 28% of the participants went bust, and the average payout was just $91. Only 21% of the participants reached the maximum. 18 of the 61 participants bet everything on one toss, while two-thirds gambled on tails at some stage in the experiment.[10][11]

Using the Kelly criterion and based on the odds in the experiment (ignoring the cap of $250 and the finite duration of the test), the right approach would be to bet 20% of one's bankroll on each toss of the coin, which works out to a 2.034% average gain each round. This is a geometric mean, not the arithmetic rate of 4% (r = 0.2 x (0.6 - 0.4) = 0.04). The theoretical expected wealth after 300 rounds works out to $10,505 ([math]\displaystyle{ = 25 \cdot (1.02034) ^ {300} }[/math]) if it were not capped.

In this particular game, because of the cap, a strategy of betting only 12% of the pot on each toss would have even better results (a 95% probability of reaching the cap and an average payout of $242.03).

Proof

Heuristic proofs of the Kelly criterion are straightforward.[12] The Kelly criterion maximizes the expected value of the logarithm of wealth (the expectation value of a function is given by the sum, over all possible outcomes, of the probability of each particular outcome multiplied by the value of the function in the event of that outcome). We start with 1 unit of wealth and bet a fraction [math]\displaystyle{ f }[/math] of that wealth on an outcome that occurs with probability [math]\displaystyle{ p }[/math] and offers odds of [math]\displaystyle{ b }[/math]. The probability of winning is [math]\displaystyle{ p }[/math], and in that case the resulting wealth is equal to [math]\displaystyle{ 1+fb }[/math]. The probability of losing is [math]\displaystyle{ q=1-p }[/math] and the odds of a negative outcome is [math]\displaystyle{ a }[/math]. In that case the resulting wealth is equal to [math]\displaystyle{ 1-fa }[/math]. Therefore, the expected geometric growth rate [math]\displaystyle{ r }[/math] is:

[math]\displaystyle{ r=(1+fb)^p\cdot(1-fa)^{q} }[/math]

We want to find the maximum r of this curve (as a function of f), which involves finding the derivative of the equation. This is more easily accomplished by taking the logarithm of each side first. The resulting equation is:

[math]\displaystyle{ E = \log(r) = p \log(1+fb)+q\log(1-fa) }[/math]

with [math]\displaystyle{ E }[/math] denoting logarithmic wealth growth. To find the value of [math]\displaystyle{ f }[/math] for which the growth rate is maximized, denoted as [math]\displaystyle{ f^{*} }[/math], we differentiate the above expression and set this equal to zero. This gives:

[math]\displaystyle{ \left.\frac{dE}{df}\right|_{f=f^*}=\frac{pb}{1+f^{*}b}+\frac{-qa}{1-f^{*}a}=0 }[/math]

Rearranging this equation to solve for the value of [math]\displaystyle{ f^{*} }[/math] gives the Kelly criterion:

[math]\displaystyle{ f^{*} = \frac{p}{a}-\frac{q}{b} }[/math]

Notice that this expression reduces to the simple gambling formula when [math]\displaystyle{ a=1=100\% }[/math], when a loss results in full loss of the wager.

Bernoulli

In a 1738 article, Daniel Bernoulli suggested that, when one has a choice of bets or investments, one should choose that with the highest geometric mean of outcomes. This is mathematically equivalent to the Kelly criterion, although the motivation is different (Bernoulli wanted to resolve the St. Petersburg paradox).

An English translation of the Bernoulli article was not published until 1954,[13] but the work was well known among mathematicians and economists.

Application to the stock market

In mathematical finance, if security weights maximize the expected geometric growth rate (which is equivalent to maximizing log wealth), then a portfolio is growth optimal.

Computations of growth optimal portfolios can suffer tremendous garbage in, garbage out problems. For example, the cases below take as given the expected return and covariance structure of assets, but these parameters are at best estimates or models that have significant uncertainty. If portfolio weights are largely a function of estimation errors, then Ex-post performance of a growth-optimal portfolio may differ fantastically from the ex-ante prediction. Parameter uncertainty and estimation errors are a large topic in portfolio theory. An approach to counteract the unknown risk is to invest less than the Kelly criterion.

Rough estimates are still useful. If we take excess return 4% and volatility 16%, then yearly Sharpe ratio and Kelly ratio are calculated to be 25% and 150%. Daily Sharpe ratio and Kelly ratio are 1.7% and 150%. Sharpe ratio implies daily win probability of p=(50% + 1.7%/4), where we assumed that probability bandwidth is [math]\displaystyle{ 4 \sigma = 4% }[/math]. Now we can apply discrete Kelly formula for [math]\displaystyle{ f^{*} }[/math] above with [math]\displaystyle{ p=50.425%, a=b=1% }[/math], and we get another rough estimate for Kelly fraction [math]\displaystyle{ f^{*} = 85% }[/math]. Both of these estimates of Kelly fraction appear quite reasonable, yet a prudent approach suggest a further multiplication of Kelly ratio by 50% (i.e. half-Kelly).

A detailed paper by Edward O. Thorp and a co-author estimates Kelly fraction to be 117% for the American stock market SP500 index. [14] Significant downside tail-risk for equity markets is another reason [15] to reduce Kelly fraction from naive estimate (for instance, to reduce to half-Kelly).

Criticism

Although the Kelly strategy's promise of doing better than any other strategy in the long run seems compelling, some economists have argued strenuously against it, mainly because an individual's specific investing constraints may override the desire for optimal growth rate.[8] The conventional alternative is expected utility theory which says bets should be sized to maximize the expected utility of the outcome (to an individual with logarithmic utility, the Kelly bet maximizes expected utility, so there is no conflict; moreover, Kelly's original paper clearly states the need for a utility function in the case of gambling games which are played finitely many times[1]). Even Kelly supporters usually argue for fractional Kelly (betting a fixed fraction of the amount recommended by Kelly) for a variety of practical reasons, such as wishing to reduce volatility, or protecting against non-deterministic errors in their advantage (edge) calculations.[16] In colloquial terms, the Kelly criterion requires accurate probability values, which isn't always possible for real-world event outcomes. When a gambler overestimates their true probability of winning, the criterion value calculated will diverge from the optimal, increasing the risk of ruin.

Kelly formula can be thought as 'time diversification', which is taking equal risk during different sequential time periods (as opposed to taking equal risk in different assets for asset diversification). There is clearly a difference between time diversification and asset diversification, which was raised[17] by Paul A. Samuelson. There is also a difference between ensemble-averaging (utility calculation) and time-averaging (Kelly multi-period betting over a single time path in real life). The debate was renewed by envoking ergodicity breaking.[18] Yet the difference between ergodicity breaking and Knightian uncertainty should be recognized.[19]

Advanced mathematics

A rigorous and general proof can be found in Kelly's original paper[1] or in some of the other references listed below. Some corrections have been published.[20] We give the following non-rigorous argument for the case with [math]\displaystyle{ b = 1 }[/math] (a 50:50 "even money" bet) to show the general idea and provide some insights.[1] When [math]\displaystyle{ b = 1 }[/math], a Kelly bettor bets [math]\displaystyle{ 2p - 1 }[/math] times their initial wealth [math]\displaystyle{ W }[/math], as shown above. If they win, they have [math]\displaystyle{ 2pW }[/math] after one bet. If they lose, they have [math]\displaystyle{ 2(1 - p)W }[/math]. Suppose they make [math]\displaystyle{ N }[/math] bets like this, and win [math]\displaystyle{ K }[/math] times out of this series of [math]\displaystyle{ N }[/math] bets. The resulting wealth will be:

[math]\displaystyle{ 2^Np^K(1-p)^{N-K}W \! . }[/math]

The ordering of the wins and losses does not affect the resulting wealth. Suppose another bettor bets a different amount, [math]\displaystyle{ (2p - 1 + \Delta)W }[/math] for some value of [math]\displaystyle{ \Delta }[/math] (where [math]\displaystyle{ \Delta }[/math] may be positive or negative). They will have [math]\displaystyle{ (2p + \Delta)W }[/math] after a win and [math]\displaystyle{ [2(1-p)-\Delta]W }[/math] after a loss. After the same series of wins and losses as the Kelly bettor, they will have:

[math]\displaystyle{ (2p+\Delta)^K[2(1-p)-\Delta]^{N-K}W }[/math]

Take the derivative of this with respect to [math]\displaystyle{ \Delta }[/math] and get:

[math]\displaystyle{ K(2p+\Delta)^{K-1}[2(1-p)-\Delta]^{N-K}W-(N-K)(2p+\Delta)^K[2(1-p)-\Delta]^{N-K-1}W }[/math]

The function is maximized when this derivative is equal to zero, which occurs at:

[math]\displaystyle{ K[2(1-p)-\Delta]=(N-K)(2p+\Delta) }[/math]

which implies that

[math]\displaystyle{ \Delta=2\left(\frac{K}{N}-p\right) }[/math]

but the proportion of winning bets will eventually converge to:

[math]\displaystyle{ \lim_{N \to +\infty}\frac{K}{N}=p }[/math]

according to the weak law of large numbers. So in the long run, final wealth is maximized by setting [math]\displaystyle{ \Delta }[/math] to zero, which means following the Kelly strategy. This illustrates that Kelly has both a deterministic and a stochastic component. If one knows K and N and wishes to pick a constant fraction of wealth to bet each time (otherwise one could cheat and, for example, bet zero after the Kth win knowing that the rest of the bets will lose), one will end up with the most money if one bets:

[math]\displaystyle{ \left(2\frac{K}{N}-1\right)W }[/math]

each time. This is true whether [math]\displaystyle{ N }[/math] is small or large. The "long run" part of Kelly is necessary because K is not known in advance, just that as [math]\displaystyle{ N }[/math] gets large, [math]\displaystyle{ K }[/math] will approach [math]\displaystyle{ pN }[/math]. Someone who bets more than Kelly can do better if [math]\displaystyle{ K \gt pN }[/math] for a stretch; someone who bets less than Kelly can do better if [math]\displaystyle{ K\lt pN }[/math] for a stretch, but in the long run, Kelly always wins. The heuristic proof for the general case proceeds as follows.[citation needed] In a single trial, if one invests the fraction [math]\displaystyle{ f }[/math] of their capital, if the strategy succeeds, the capital at the end of the trial increases by the factor [math]\displaystyle{ 1-f + f(1+b) = 1+fb }[/math], and, likewise, if the strategy fails, the capital is decreased by the factor [math]\displaystyle{ 1-fa }[/math]. Thus at the end of [math]\displaystyle{ N }[/math] trials (with [math]\displaystyle{ pN }[/math] successes and [math]\displaystyle{ qN }[/math] failures), the starting capital of $1 yields

[math]\displaystyle{ C_N=(1+fb)^{pN}(1-fa)^{qN}. }[/math]

Maximizing [math]\displaystyle{ \log(C_N)/N }[/math], and consequently [math]\displaystyle{ C_N }[/math], with respect to [math]\displaystyle{ f }[/math] leads to the desired result

[math]\displaystyle{ f^{*}=p/a-q/b . }[/math]

Edward O. Thorp provided a more detailed discussion of this formula for the general case.[9] There, it can be seen that the substitution of [math]\displaystyle{ p }[/math] for the ratio of the number of "successes" to the number of trials implies that the number of trials must be very large, since [math]\displaystyle{ p }[/math] is defined as the limit of this ratio as the number of trials goes to infinity. In brief, betting [math]\displaystyle{ f^{*} }[/math] each time will likely maximize the wealth growth rate only in the case where the number of trials is very large, and [math]\displaystyle{ p }[/math] and [math]\displaystyle{ b }[/math] are the same for each trial. In practice, this is a matter of playing the same game over and over, where the probability of winning and the payoff odds are always the same. In the heuristic proof above, [math]\displaystyle{ pN }[/math] successes and [math]\displaystyle{ qN }[/math] failures are highly likely only for very large [math]\displaystyle{ N }[/math].

Multiple outcomes

Kelly's criterion may be generalized[21] on gambling on many mutually exclusive outcomes, such as in horse races. Suppose there are several mutually exclusive outcomes. The probability that the [math]\displaystyle{ k }[/math]-th horse wins the race is [math]\displaystyle{ p_k }[/math], the total amount of bets placed on [math]\displaystyle{ k }[/math]-th horse is [math]\displaystyle{ B_k }[/math], and

[math]\displaystyle{ \beta_k=\frac{B_k}{\sum_i B_i}=\frac{D}{1+Q_k} , }[/math]

where [math]\displaystyle{ Q_k }[/math] are the pay-off odds. [math]\displaystyle{ D=1-tt }[/math], is the dividend rate where [math]\displaystyle{ tt }[/math] is the track take or tax, [math]\displaystyle{ \frac{D}{\beta_k} }[/math] is the revenue rate after deduction of the track take when [math]\displaystyle{ k }[/math]-th horse wins. The fraction of the bettor's funds to bet on [math]\displaystyle{ k }[/math]-th horse is [math]\displaystyle{ f_k }[/math]. Kelly's criterion for gambling with multiple mutually exclusive outcomes gives an algorithm for finding the optimal set [math]\displaystyle{ S^o }[/math] of outcomes on which it is reasonable to bet and it gives explicit formula for finding the optimal fractions [math]\displaystyle{ f^o_k }[/math] of bettor's wealth to be bet on the outcomes included in the optimal set [math]\displaystyle{ S^o }[/math]. The algorithm for the optimal set of outcomes consists of four steps:[21]

  1. Calculate the expected revenue rate for all possible (or only for several of the most promising) outcomes: [math]\displaystyle{ er_i = \frac{Dp_i}{\beta_i} = p_i(Q_i + 1) }[/math]
  2. Reorder the outcomes so that the new sequence [math]\displaystyle{ er_k }[/math] is non-increasing. Thus [math]\displaystyle{ er_1 }[/math] will be the best bet.
  3. Set [math]\displaystyle{ S = \varnothing }[/math] (the empty set), [math]\displaystyle{ k = 1 }[/math], [math]\displaystyle{ R(S)=1 }[/math]. Thus the best bet [math]\displaystyle{ er_k = er_1 }[/math] will be considered first.
  4. Repeat:
    If [math]\displaystyle{ er_k=\frac{D}{\beta_k}p_k \gt R(S) }[/math] then insert [math]\displaystyle{ k }[/math]-th outcome into the set: [math]\displaystyle{ S = S \cup \{k\} }[/math], recalculate [math]\displaystyle{ R(S) }[/math] according to the formula: [math]\displaystyle{ R(S) = \frac{D\sum_{k \notin S}p_k}{D-\sum_{k \in S}\beta_k} }[/math] and then set [math]\displaystyle{ k = k+1 }[/math],
    Otherwise, set [math]\displaystyle{ S^o=S }[/math] and stop the repetition.

If the optimal set [math]\displaystyle{ S^o }[/math] is empty then do not bet at all. If the set [math]\displaystyle{ S^o }[/math] of optimal outcomes is not empty, then the optimal fraction [math]\displaystyle{ f^o_k }[/math] to bet on [math]\displaystyle{ k }[/math]-th outcome may be calculated from this formula:

[math]\displaystyle{ f_i = p_i - \beta_i \frac{\sum_{k \notin S}p_k}{\left(D - \sum_{k \in S}\beta_k\right)}. }[/math]

One may prove[21] that

[math]\displaystyle{ R(S^o)=1-\sum_{i \in S^o}{f^o_i} }[/math]

where the right hand-side is the reserve rate[clarification needed]. Therefore, the requirement [math]\displaystyle{ er_k=\frac{D}{\beta_k}p_k \gt R(S) }[/math] may be interpreted[21] as follows: [math]\displaystyle{ k }[/math]-th outcome is included in the set [math]\displaystyle{ S^o }[/math] of optimal outcomes if and only if its expected revenue rate is greater than the reserve rate. The formula for the optimal fraction [math]\displaystyle{ f^o_k }[/math] may be interpreted as the excess of the expected revenue rate of [math]\displaystyle{ k }[/math]-th horse over the reserve rate divided by the revenue after deduction of the track take when [math]\displaystyle{ k }[/math]-th horse wins or as the excess of the probability of [math]\displaystyle{ k }[/math]-th horse winning over the reserve rate divided by revenue after deduction of the track take when [math]\displaystyle{ k }[/math]-th horse wins. The binary growth exponent is

[math]\displaystyle{ G^o=\sum_{i \in S}{p_i\log_2(er_i)} + \left(1-\sum_{i \in S}{p_i}\right)\log_2(R(S^o)) , }[/math]

and the doubling time is

[math]\displaystyle{ T_d=\frac{1}{G^o}. }[/math]

This method of selection of optimal bets may be applied also when probabilities [math]\displaystyle{ p_k }[/math] are known only for several most promising outcomes, while the remaining outcomes have no chance to win. In this case it must be that

[math]\displaystyle{ \sum_i{p_i} \lt 1 , }[/math] and
[math]\displaystyle{ \sum_i{\beta_i} \lt 1 }[/math].

Stock investments

The second-order Taylor polynomial can be used as a good approximation of the main criterion. Primarily, it is useful for stock investment, where the fraction devoted to investment is based on simple characteristics that can be easily estimated from existing historical data – expected value and variance. This approximation leads to results that are robust and offer similar results as the original criterion.[22]

For single assets(stock, index fund, etc.), and a risk-free rate, it is easy to obtain the optimal fraction to invest through geometric Brownian motion. The stochastic differential equation governing the evolution of a lognormally distributed asset [math]\displaystyle{ S }[/math] at time [math]\displaystyle{ t }[/math] ([math]\displaystyle{ S_t }[/math]) is

[math]\displaystyle{ dS_t/S_t=\mu dt+\sigma dW_t }[/math]

whose solution is

[math]\displaystyle{ S_t = S_0\exp\left( \left(\mu - \frac{\sigma^2}{2} \right)t + \sigma W_t\right) }[/math]

where [math]\displaystyle{ W_t }[/math] is a Wiener process, and [math]\displaystyle{ \mu }[/math] (percentage drift) and [math]\displaystyle{ \sigma }[/math] (the percentage volatility) are constants. Taking expectations of the logarithm:

[math]\displaystyle{ \mathbb{E} \log(S_t)=\log(S_0)+\left(\mu- \frac {\sigma^2}{2}\right)t. }[/math]

Then the expected log return [math]\displaystyle{ R_s }[/math] is

[math]\displaystyle{ R_s = \left(\mu -\frac{\sigma^2}{2}\,\right) s. }[/math]

Consider a portfolio made of an asset [math]\displaystyle{ S }[/math] and a bond paying risk-free rate [math]\displaystyle{ r }[/math], with fraction [math]\displaystyle{ f }[/math] invested in [math]\displaystyle{ S }[/math] and [math]\displaystyle{ (1-f) }[/math] in the bond. The aforementioned equation for [math]\displaystyle{ dS_t }[/math] must be modified by this fraction, ie [math]\displaystyle{ dS_t'=fdS_t }[/math], with associated solution

[math]\displaystyle{ S'_t = S'_0\exp\left( \left(f\mu - \frac{(f\sigma)^2}{2} \right)t + f\sigma W_t\right) }[/math]

the expected one-period return is given by

[math]\displaystyle{ \mathbb{E}{\left(\left[\frac{S'_1}{S'_0} - 1\right] + ( 1 - f)r \right)} = \mathbb{E}{\left( \left[\exp\left( \left(f\mu - \frac{(f\sigma)^2}{2} \right) + f\sigma W_1\right) - 1 \right]\right)} + (1 - f) r }[/math]

For small [math]\displaystyle{ \mu }[/math], [math]\displaystyle{ \sigma }[/math], and [math]\displaystyle{ W_t }[/math], the solution can be expanded to first order to yield an approximate increase in wealth

[math]\displaystyle{ G(f) = f\mu - \frac {(f\sigma)^2}{2} + ((1-f)\ r). }[/math]

Solving [math]\displaystyle{ \max (G(f)) }[/math] we obtain

[math]\displaystyle{ f^* = \frac {\mu - r} {\sigma^2}. }[/math]

[math]\displaystyle{ f^* }[/math] is the fraction that maximizes the expected logarithmic return, and so, is the Kelly fraction. Thorp[9] arrived at the same result but through a different derivation. Remember that [math]\displaystyle{ \mu }[/math] is different from the asset log return [math]\displaystyle{ R_s }[/math]. Confusing this is a common mistake made by websites and articles talking about the Kelly Criterion.

For multiple assets, consider a market with [math]\displaystyle{ n }[/math] correlated stocks [math]\displaystyle{ S_k }[/math] with stochastic returns [math]\displaystyle{ r_k }[/math], [math]\displaystyle{ k= 1, \dots, n, }[/math] and a riskless bond with return [math]\displaystyle{ r }[/math]. An investor puts a fraction [math]\displaystyle{ u_k }[/math] of their capital in [math]\displaystyle{ S_k }[/math] and the rest is invested in the bond. Without loss of generality, assume that investor's starting capital is equal to 1. According to the Kelly criterion one should maximize

[math]\displaystyle{ \mathbb{E}\left[ \ln\left((1 + r) + \sum\limits_{k=1}^n u_k(r_k -r) \right) \right]. }[/math]

Expanding this with a Taylor series around [math]\displaystyle{ \vec{u_0} = (0, \ldots , 0) }[/math] we obtain

[math]\displaystyle{ \mathbb{E} \left[ \ln(1+r) + \sum\limits_{k=1}^{n} \frac{u_k(r_k - r)}{1+r} - \frac{1}{2}\sum\limits_{k=1}^{n}\sum\limits_{j=1}^{n} u_k u_j \frac{(r_k -r)(r_j - r)}{(1+r)^2} \right]. }[/math]

Thus we reduce the optimization problem to quadratic programming and the unconstrained solution is

[math]\displaystyle{ \vec{u^{\star}} = (1+r) ( \widehat{\Sigma} )^{-1} ( \widehat{\vec{r}} - r ) }[/math]

where [math]\displaystyle{ \widehat{\vec{r}} }[/math] and [math]\displaystyle{ \widehat{\Sigma} }[/math] are the vector of means and the matrix of second mixed noncentral moments of the excess returns. There is also a numerical algorithm for the fractional Kelly strategies and for the optimal solution under no leverage and no short selling constraints.[23]

See also

References

  1. 1.0 1.1 1.2 1.3 Kelly, J. L. (1956). "A New Interpretation of Information Rate". Bell System Technical Journal 35 (4): 917–926. doi:10.1002/j.1538-7305.1956.tb03809.x. https://www.princeton.edu/~wbialek/rome/refs/kelly_56.pdf. 
  2. Thorp, E. O. (January 1961), "Fortune's Formula: The Game of Blackjack", American Mathematical Society 
  3. Thorp, Edward O. (1966). Beat the dealer: a winning strategy for the game of twenty-one: a scientific analysis of the world-wide game known variously as blackjack, twenty-one, vingt-et-un, pontoon, or van-john. New York: Random House. ISBN 0-394-70310-3. OCLC 655875. 
  4. Thorp, Edward O.; Kassouf, Sheen T. (1967), Beat the Market: A Scientific Stock Market System, Random House, ISBN 0-394-42439-5, http://www.edwardothorp.com/sitebuildercontent/sitebuilderfiles/beatthemarket.pdf , page 184f.
  5. Zenios, S. A.; Ziemba, W. T. (2006), Handbook of Asset and Liability Management, North Holland, ISBN 978-0-444-50875-1 
  6. Pabrai, Mohnish (2007), The Dhandho Investor: The Low-Risk Value Method to High Returns, Wiley, ISBN 978-0-470-04389-9, https://archive.org/details/dhandhoinvestorl00pabr_0 
  7. Thorp, E. O. (September 2008), "The Kelly Criterion: Part II", Wilmott Magazine 
  8. 8.0 8.1 Poundstone, William (2005), Fortune's Formula: The Untold Story of the Scientific Betting System That Beat the Casinos and Wall Street, New York: Hill and Wang, ISBN 0-8090-4637-7, https://archive.org/details/fortunesformulau00poun 
  9. 9.0 9.1 9.2 9.3 9.4 Thorp, Edward O. (June 1997). "The Kelly criterion in blackjack, sports betting, and the stock market". http://www.edwardothorp.com/sitebuildercontent/sitebuilderfiles/KellyCriterion2007.pdf. 
  10. Template:Cite SSRN arXiv:1701.01427
  11. "Buttonwood", "Irrational tossers", The Economist, 1 November 2016.
  12. Press, W. H.; Teukolsky, S. A.; Vetterling, W. T.; Flannery, B. P. (2007), "Section 14.7 (Example 2.)", Numerical Recipes: The Art of Scientific Computing (3rd ed.), New York: Cambridge University Press, ISBN 978-0-521-88068-8, http://apps.nrbook.com/empanel/index.html#pg=757 
  13. Bernoulli, Daniel (1954). "Exposition of a New Theory on the Measurement of Risk". Econometrica (The Econometric Society) 22 (1): 22–36. doi:10.2307/1909829. https://psych.fullerton.edu/mbirnbaum/psych466/articles/bernoulli_econometrica.pdf.  English translation of 1738 paper.
  14. Thorp, E. O.; Rotando, Louis M. (1992). "The Kelly criterion and the Stock Market". The American Mathematical Monthly 99 (10): 922–931. doi:10.1080/00029890.1992.11995955. https://www.edwardothorp.com/wp-content/uploads/2016/11/TheKellyCriterionAndTheStockMarket.pdf. 
  15. Turlakov, Mihail (2017). "Leverage and Uncertainty". Journal of Investment Strategies, Pp 81-97 6. doi:10.21314/JOIS.2017.087. 
  16. Thorp, E. O. (May 2008), "The Kelly Criterion: Part I", Wilmott Magazine 
  17. Samuelson, Paul. A. (1963), "Risk and uncertainty: a fallacy of large numbers", Scientia (6th Series, 57th year, April-May), 153–158 
  18. Peters, Ole; Gell-Mann, Murray (2015), "Evaluating gambles using dynamics", Chaos: An Interdisciplinary Journal of Nonlinear Science 26 (2): 023103, doi:10.1063/1.4940236, PMID 26931584 
  19. Ford, Matthew; Kay, John (2022), Psychology is Fundamental: The Limitations of Growth-Optimal Approaches to Decision Making under Uncertainty, doi:10.2139/ssrn.4140625 
  20. Thorp, E. O. (1969). "Optimal Gambling Systems for Favorable Games". Revue de l'Institut International de Statistique / Review of the International Statistical Institute (International Statistical Institute (ISI)) 37 (3): 273–293. doi:10.2307/1402118. http://projecteuclid.org/euclid.bsmsp/1200512159. 
  21. 21.0 21.1 21.2 21.3 Smoczynski, Peter; Tomkins, Dave (2010). "An explicit solution to the problem of optimizing the allocations of a bettor's wealth when wagering on horse races". Mathematical Scientist 35 (1): 10–17. https://www.researchgate.net/publication/268615950. 
  22. Marek, Patrice; Ťoupal, Tomáš; Vávra, František (2016). "Efficient Distribution of Investment Capital". 34th International Conference Mathematical Methods in Economics. pp. 540–545. MME2016. https://www.researchgate.net/publication/308919565. 
  23. Template:Cite SSRN

External links