Home Kelly criterion and fractional Kelly strategy for non-mutually exclusive bets
Article Publicly Available

Kelly criterion and fractional Kelly strategy for non-mutually exclusive bets

  • Benjamin P. Jacot ORCID logo EMAIL logo and Paul V. Mochkovitch
Published/Copyright: January 17, 2023

Abstract

This paper examines how the Kelly criterion, a strategy for maximizing the expected log-growth of capital through informed betting, can be applied to non-mutually exclusive bets. These are bets where there is no one-to-one correspondence between the bets and the possible outcomes of the game. This type of situation is common in horse racing, where multiple types of bets are available for a single race. The paper begins by providing a theoretical overview of the Kelly betting strategy and then discusses how it can be extended to non-mutually exclusive bets. A new formulation of the fractional Kelly strategy, which involves betting a fixed fraction of the amount suggested by the Kelly criterion, is also presented for this type of scenario.

1 Introduction

1.1 How much should a gambler bet?

When a gambler has identified favorable odds, they must decide how much to bet. The correct amount will depend on the gambler’s objectives. For example, a gambler may want to maximize the expected value of their capital by betting all of it, but this strategy is risky in the long run and could lead to the gambler’s ruin if they continue to play indefinitely.

The Kelly criterion (Kelly 1956), on the other hand, aims to maximize the expected log-growth of capital by betting a fixed fraction of available capital, thereby avoiding ruin[1] While the Kelly criterion has some desirable properties,[2] such as almost surely diverging to infinity when favorable odds are present (Maclean, Thorp, and Ziemba 2011), it can also result in highly volatile paths to profitability, with common occurrences of downswings that result in the loss of more than half of the capital (Benter 1994). To mitigate this risk, some researchers have suggested adding constraints, such as limiting maximum drawdown (Busseti, Ryu, and Boyd 2016) or the time horizon of the strategy (Deza, Huang, and Metel 2015), or using a fractional Kelly strategy which involves betting a fixed fraction of the amount suggested by the Kelly criterion (Maclean, Thorp, and Ziemba 2011).

The Kelly criterion is a useful tool for making informed decisions about how to allocate capital when betting on horse races, particularly when considering a single type of bet (Benter 1994) – most common types of bets are shown in Table 1. While there have been case studies examining the use of the Kelly criterion for the Win bet (Smoczynski and Tomkins 2010) and, less frequently, for exotic bets like Superfecta (Deza, Huang, and Metel 2015), there has not yet been a comprehensive approach to applying the Kelly criterion to situations where multiple types of bets are available for a single race. This is the gap in research that the current paper aims to address.

Table 1:

Examples of bets for horse race wagering.

Type Explanation
Win Pick the winning horse.
Place Pick the horse finishing first or second.
Show Pick the horse finishing first, second or third.
Exacta Pick top two finishers in correct order.
Quinella Pick top two finishers in either order.
Trifecta Pick top three finishers in correct order.
Superfecta Pick top four finishers in correct order.

1.2 Introducing the Kelly criterion: a simple case

Assume a coin-tossing game where probabilities for Heads and Tails are p and q respectively. Naturally, p + q = 1. Before each new toss, the player is offered to bet on Heads. The return is r+ > 0 when the player wins. Reversely, it is r = −100%. The coin is biased to the player’s advantage, such that p > q.

As the tosses are independent and p, q and r+ are constant, the bet amount is a constant ratio a of the player’s capital (Thorp 2006). For an initial capital C0, the capital C N after N trials becomes:

(1) C N ( a ) = C 0 ( 1 + a r + ) W ( 1 a ) L

where W and L are the respective number of experienced wins and losses, and W + L = N. The log-growth of capital over N trials G N is given by:

(2) G N ( a ) = 1 N log C N C 0 = W N log ( 1 + a r + ) + L N log ( 1 a )

For infinitely many trials, W N p , L N q and the expected log-growth of capital becomes:

(3) G ( a ) = p log ( 1 + a r + ) + q log ( 1 a )

Here, log functions contain the discount factor of capital for each outcome. In addition, they are each weighted by the probability of the given outcome. In what follows, G will be expressed in more complex ways but this interpretation will hold true.

The Kelly criterion consists in maximizing (3) under constraint:

(4) 0 a < 1

as neither short betting, nor leverage are usually allowed or feasible in most betting platforms. Equation (3) being concave, the maximum is found when its first derivative is zero-valued. Providing (4) is met, the corresponding ratio is:

(5) a * = p q r +

The fractional Kelly strategy then consists in betting only a fraction a f of a* each time. It is good practice to have a f a*/2 (Benter 1994). It enables to counterbalance the estimation errors for p and q, as they are usually unknown. It also directly reduces the drawdowns of the strategy, as less capital is bet at each new trial. Finally, the fractional Kelly strategy deteriorates G by a lower factor than a f /a*, because of its concavity. This goes to the bettor’s interest.

Taking the example of small favorable odds such as p = 51%, and for r+ = +100%, then (5) brings a* = 2%.[3] Defining:

(6) k = G ( a f ) G ( a * )

then according to (3), k ≈ 0.75 for a f /a* = 0.5 and k ≈ 0.55 for a f /a* = 0.33. Therefore, 75% (respectively 55%) of the maximal expected log-growth is preserved when dividing the optimal allocation by 2 (respectively 3).

1.3 Extension of the Kelly criterion to mutually exclusive bets

Bets are considered to be mutually exclusive if there is a one-to-one correspondence between bets and all possible outcomes, as illustrated in Figure 1. In a race with n horses, a Win bet defines n mutually exclusive outcomes, each corresponding to betting on a single horse to win. It is assumed that only one horse can win and there is no possibility of a tie. The probability for outcome i, e.g. horse i wins the race, is denoted as p i and thus ∑p i = 1.

Figure 1: 
Mutually exclusive bets: each bet delivers a positive return for strictly one of all possible outcomes. There are as many bets as possible outcomes.
Figure 1:

Mutually exclusive bets: each bet delivers a positive return for strictly one of all possible outcomes. There are as many bets as possible outcomes.

The Kelly criterion directly extends to such bets. Let r i + and r i = 100 % be the returns for bet i in case of success or loss, respectively. Then (3) becomes:

(7) G ( a ) = 1 i n p i log b + a i 1 + r i +

where a = ( a i ) 1 i n is the vector of bet amounts expressed as constant ratios of the player’s capital and b is the constant ratio of capital that is not bet:

(8) b = 1 1 a

Again, the log functions in (7) contain the discount factor of capital for each outcome, weighted by the probability of the latter. For a given outcome, only one bet brings a positive return whereas all others are lost. The final capital is thus the sum of the capital that was not bet and the gains from the winning bet.

Maximizing (7) can be performed with Lagrangian optimization. More precisely, closed-form solutions for a * can be derived from solving Karush–Kuhn–Tucker conditions – see (Kempton 2011) for detailed resolution.

However, the fractional Kelly strategy becomes more complex. For a given k as defined in (6), what is the fraction af,i of each optimal allocation ratio a i * ? Put differently, a f needs to solve:

(9a) min a 1 a
(9b) s . t . G ( a ) / G ( a * ) k
(9c) a i 0 , 1 i n

It is indeed desirable to bet as little capital as possible while keeping the expected log-growth above threshold k. Naturally, a f must also verify 1 a f ≤ 1. The resolution of (9) is described in the next section, for the broader case of non-mutually exclusive bets.

2 Generalization to non-mutually exclusive bets

2.1 Theoretical framework

Let n and m denote the number of different outcomes and bets respectively. Similarly Figures 1 and 2 illustrates the non-mutually exclusive bets situation. In a horse race, the n different outcomes correspond to the order in which the horses finish first, second, and third. All bets except the Superfecta bet from Table 1 are offered, totaling m bets. This means that m > n and the bets are non-mutually exclusive, as more than one bet may have positive returns for each outcome.

Figure 2: 
Non-mutually exclusive bets: each bet delivers a positive return for one or several of all possible outcomes. The number of outcomes n and bets m is different.
Figure 2:

Non-mutually exclusive bets: each bet delivers a positive return for one or several of all possible outcomes. The number of outcomes n and bets m is different.

The vector of bet returns for outcome i needs to be introduced to generalize the Kelly criterion to non-mutually exclusive bets:

(10) r i = ( r i , j ) 1 j m

Here, several returns within r i may be positive and the others are equal to −100%. For I i the set of bet indices with positive returns under outcome i, (7) becomes:

(11) G ( a ) = 1 i n p i log b + k I i a k 1 + r k +

which simplifies, using (8) and (10), as:

(12) G ( a ) = 1 i n p i log 1 + r i a

This equation is a more general expression of (7). Thanks to (10), G is now expressed in a much simpler way as compared to (11). It is thus a pivotal step in the resolution of Kelly criterion for non-mutually exclusive bets. The advantage is indeed that the computation of the gradient and Hessian becomes straightforward:

(13) a G = i p i 1 + r i a r i
(14) a 2 G = i p i 1 + r i a 2 r i r i

and the Kelly criterion can be expressed as the following optimization problem:

(15a) max a G
(15b) s . t . 1 + r i a > 0 , 1 i n
(15c) a j 0 , 1 j m
(15d) 1 a 1

Deriving closed-form solutions analytically for such optimization problem is tedious, as opposed to the case of mutually exclusive bets in (Kempton 2011). Karush–Kuhn–Tucker conditions are valid since the objective function is concave and all inequality constraints are linear and regular enough. Solving the system of equations resulting from (12) to (13) is complex due to the expressions of G and ∇ a G. Therefore, a gradient-descent numerical approach is preferred in the examples of the following section. This approach is particularly efficient because it uses the gradient, which is the direction of steepest ascent, to iteratively update the solution and find the optimal solution more quickly. In the context of (12) and (13), knowing the gradient allows the approach to efficiently update the solution because the gradient points in the direction that will result in the greatest increase in the objective function. Similarly, in the context of (9), knowing the gradient of the non-linear constraint in (9b) allows the approach to efficiently update the solution because it can use the gradient to determine the direction that will result in the greatest increase in the constraint. Overall, having access to the gradient information allows the gradient-descent numerical approach to more quickly find the optimal solution.

2.2 Examples

2.2.1 Two bets, two outcomes

Taking the same coin-tossing game as in the single bet example, two bets are now proposed. All else equal, the infinite log-wealth becomes:

(16) G ( a 1 , a 2 ) = p log 1 + a 1 r 1 + + a 2 r 2 + + q log 1 + a 1 r 1 + a 2 r 2

under constraints:

(17a) 1 + a 1 r 1 + + a 2 r 2 + > 0
(17b) 1 + a 1 r 1 + a 2 r 2 > 0
(17c) a 1 , a 2 0
(17d) a 1 + a 2 1

and its gradient is:

(18) G = p 1 + a 1 r 1 + + a 2 r 2 + r 1 + r 2 + + q 1 + a 1 r 1 + a 2 r 2 r 1 r 2

Yet, ∇G = 0 is not always verified where (16) is maximal. If it were, then per (18):

(19) r 1 + r 1 r 2 + r 2 p 1 + a 1 * r 1 + + a 2 * r 2 + q 1 + a 1 * r 1 + a 2 * r 2 = 0

Because of (17a) and (17b), the determinant of such system is necessarily zero-valued, leading to r 1 + r 2 = r 2 + r 1 . Therefore:

  1. A maximum with zero-valued gradient in both directions exists if returns are proportional between both bets. The determinant of (19) being zero-valued, maximum is not unique and verifies:

    (20) a 1 * + r 2 r 1 a 2 * = p r 1 + q r 1 +

    regardless of (17c) and (17d).

  2. Reversely, if r 1 + r 1 r 2 + r 2 then one direction of the gradient is not zero-valued at the maximum of G. The solution for (15) is thus found on a border of the admissible domain, where either a 1 * or a 2 * is zero-valued. Put differently, only the most rewarding of the two bets is kept in the allocation. No numerical optimization is needed as (5) can be used directly.

Cases (b) and (c) in Figure 3 and Table 2 illustrate each of these two cases, respectively. In addition, case (a) shows that no bets are placed when no favorable odds exist, i.e. p = 50% and positive returns are equal to negative ones in absolute terms.

Figure 3: 
Three examples of G∞ for two bets and two outcomes, as detailed in Table 2.
Figure 3:

Three examples of G for two bets and two outcomes, as detailed in Table 2.

Table 2:

Parameters used in cases (a), (b) and (c) in Figure 3.

Case p r 1 + , r 1 r 2 + , r 2 a * a f (k = 0.75) G(a*)
(a) 50% (100%, − 100%) (100%, − 100%) (0%, 0%) (0%, 0%) 0
(b) 60% (100%, − 100%) (100%, − 100%) a 1 * + a 2 * = 20 % af,1 + af,2 = 10.1% 0.0201
(c) 50% (100%, − 80%) (120%, − 100%) (12.5%, 0%) (6.2%, 0%) 0.0062

2.2.2 Two bets, three outcomes

This example is summarized in Table 3. Here, the two bets are non-mutually exclusive, as both bring a positive return if outcome 1 occurs. However they are opposed under outcome 3. Finally, they both correspond to a loss under outcome 2. Overall, the first bet brings a higher return than the second one, but not as frequently. Both bets seem therefore of interest.

Table 3:

Input and output summary.

Outcome p i r i a * a f (k = 0.75) G(a*)
i = 1 60% (200%, 100%)
i = 2 20% (−100%, − 100%) (20%, 40%) (16.3%, 14.5%) 0.2059
i = 3 20% (−100%, 100%)

Here, a * is found by solving (15) using the trust region algorithm developed in (Conn, Gould, and Toint 2000) and implemented in (Virtanen, Gommers, and Oliphant 2020). This gradient-descent approach is of interest as it handles efficiently boundary constraints (15c) and (15d) and takes (14) into account for more efficient descent. The computed a * is shown in Figure 4. As expected, the Kelly criterion keeps both bets in its allocation.

Figure 4: 
G∞ for two bets and three outcomes.
Figure 4:

G for two bets and three outcomes.

Then, (9) is solved for k = 0.75 using the trust-region constrained method from (Virtanen, Gommers, and Oliphant 2020). The gradient of non-linear constraint (9b) given by (13) is specified for faster convergence of the algorithm. The computed a f is also shown in Figure 4. It should be noted that the most allocated bet in a * and a f is different, stressing the interest for risk versus reward considerations.

3 Conclusions

The existing research on wagering for horse racing typically focuses on individual bet types, such as selecting the winning horse (Smoczynski and Tomkins 2010) or placing a Superfecta bet (Deza, Huang, and Metel 2015).

However, in order to maximize profits, it is necessary to consider the full range of available bet types. Some allocation models, such as the Kelly criterion, have difficulty accounting for multiple bet types because they involve allocating capital between non-mutually exclusive bets. The research presented in this paper addresses this issue and opens up possibilities for further study, such as using Lasso penalization to constrain the optimal allocation to have as many null values as possible for ease of implementation.

It is worth noting that this allocation strategy has limitations, including the need for reliable estimates of the probability of each outcome and the returns for each bet type, which can be challenging to obtain in the context of horse racing (Benter 1994; Silvermann 2013). In that respect, recent developments have shown how to modify the Kelly criterion in order to take the uncertainty in p i into account (Baker and McHale 2013; Chu, Wu, and Swartz 2018). Other challenges include the variable odds that depend on the bets made by other bettors and the potential for noise from bettors following the same strategy when placing bets at the last minute.


Corresponding author: Benjamin P. Jacot, Independent Researcher, Paris, France, E-mail:

  1. Author contributions: All the authors have accepted responsibility for the entire content of this submitted manuscript and approved submission.

  2. Research funding: None declared.

  3. Conflict of interest statement: The authors declare no conflicts of interest regarding this article.

References

Baker, R. D., and I. G. McHale. 2013. “Optimal Betting under Parameter Uncertainty: Improving the Kelly Criterion.” Decision Analysis 10 (3): 189–99, https://doi.org/10.1287/deca.2013.0271.Search in Google Scholar

Benter, W. 1994. “Computer Based Horse Race Handicapping and Wagering Systems: A Report.” In Efficiency of Racetrack Betting Markets, 183–98. Singapore: World Scientific. https://doi.org/10.1142/9789812819192_0019.Search in Google Scholar

Browne, S. 1999. “Reaching Goals by a Deadline: Continuous-Time Active Portfolio Management.” Advances in Applied Probability 31: 551–7.10.1239/aap/1029955147Search in Google Scholar

Busseti, E., E. K. Ryu, and S. Boyd. 2016. “Risk-constrained Kelly Gambling.” Journal of Investing 25: 118–34. https://doi.org/10.3905/joi. 2016.25.3.118.10.3905/joi.2016.25.3.118Search in Google Scholar

Chu, D., Y. Wu, and T. Swartz. 2018. “Modified Kelly Criteria.” Journal of Quantitative Analysis in Sports 14: 1–11. https://doi.org/10.1515/jqas-2017- 0122.10.1515/jqas-2017-0122Search in Google Scholar

Conn, A. R., N. I. M. Gould, and P. L. Toint. 2000. “Trust Region Methods.” In MOS-SIAM Series on Optimization. Philadelphia: Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9780898719857.Search in Google Scholar

Deza, A., K. Huang, and M. Metel. 2015. “Chance Constrained Optimization for Parimutuel Horse Race Betting.” arXiv.10.1016/j.omega.2014.12.007Search in Google Scholar

Deza, A., K. Huang, and M. Metel. 2017. “Managing Losses in Exotic Horse Race Wagering.” Journal of the Operational Research Society 69: 319–25, https://doi.org/10.1057/s41274-017-0213-8.Search in Google Scholar

Kelly, J. L. 1956. “A New Interpretation of Information Rate.” The Bell System Technical Journal 35: 917–26, https://doi.org/10.1002/j.1538-7305.1956.tb03809.x.Search in Google Scholar

Kempton, C. 2011. “Horse Play: Optimal Wagers and the Kelly Criterion. Under Sup. of John Morrow.” PhD thesis, University of Washington.Search in Google Scholar

Maclean, L. C., E. O. Thorp, and W. T. Ziemba. 2011. “The Kelly Capital Growth Investment Criterion.” World Scientific 3, https://doi.org/10.1142/7598.10.1142/7598Search in Google Scholar

Maclean, L. C., W. T. Ziemba, and G. Blazenko. 1992. “Growth versus Security in Dynamic Investment Analysis.” Management Science 38: 1562–85, https://doi.org/10.1287/mnsc.38.11.1562.Search in Google Scholar

Silvermann, N. 2013. “Optimal Decision with Multiple Agents of Varying Performance”. PhD thesis, UCLA.Search in Google Scholar

Smoczynski, P. B., and D. Tomkins. 2010. “An Explicit Solution to the Problem of Optimizing the Allocation of a Bettor’s Wealth when Wagering on Horse Races.” The Mathematical Scientist 35: 10–7.Search in Google Scholar

Thorp, E. O. 2006. “The Kelly Criterion in Blackjack, Sports Betting, and the Stock Market.” In Handbook of Asset and Liability Management, 1, 385–428. Amsterdam: North Holland.10.1016/S1872-0978(06)01009-XSearch in Google Scholar

Virtanen, P., R. Gommers, and T. E. Oliphant. 2020. “SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python.” Nature Methods 17: 261–72. https://doi.org/10.1038/s41592-019-0686-2.10.1038/s41592-019-0686-2Search in Google Scholar PubMed PubMed Central

Received: 2020-11-25
Accepted: 2023-01-03
Published Online: 2023-01-17
Published in Print: 2023-03-28

© 2023 Walter de Gruyter GmbH, Berlin/Boston

Downloaded on 25.9.2025 from https://www.degruyterbrill.com/document/doi/10.1515/jqas-2020-0122/html
Scroll to top button