# Optimizing No-Limit Hold'em Buy-In under Kelly's Criterion

The `Kelly's Criterion`

, famous for its various application in sports betting and asset management, is detailed in a paper that J. L. Kelly published in 1956 while working under the Bell lab. In a situation where a gambler places repeated bets on an event with success probability of , Kelly proves that the optimal bet size each time is of the gambler’s total capital. This is due to the fact that as the bets continues, the logarithm of gambler’s wealth is concave with respective to the bet size.

## Quick Proof

Let denote the true probability of an event which the gambler bets on. and denotes the initial capital and capital after bettings, and denotes the percentage bet size relative to the capital. Among the bets, denotes the number of successes. Therefore:

Taking the logarithm of both sides and then take derivative w.r.t. :

Taking the second derivative and we can see that is concave w.r.t. :

Setting the partial derivative to zero we can then solve for that maximizes :

As goes to infinity, the optimal bet size becomes :

## No-Limit Hold’em Application

Suppose we have a bankroll of and wants to play No-Limit Hold’em. A standard buy-in size is 100BB which amounts to 200. Suppose we have an inherent edge in this game, how can we vary^{[1]} the buy-in to maximize our long-term profit based on the Kelly’s Criterion?

Let’s say we adopt a play style where we play very tight and always all-in pre-flop. We continues until someone calls our all-in and will exit the game no matter the outcome. For now, we will ignore the blinds we are losing by waiting for a hand, since we earn some blinds when players fold to our all-ins. This game now becomes very similar to the gambler situation above, that we either double our buy-in or lose it. Since we assumed that we had an inherent edge^{[2]} , we should be always betting a buy-in of of our bankroll. But how do we know our edge?

We know that sample mean is an unbiased estimator of population mean. We may use our average historical win percentage^{[3]} as an estimate. Suppose we played 10 sessions first all with standard buy-in and made 200 in profits. Then our edge can be calculated:

Based on Kelly’s Criterion, in the th session, we want to bet of our total bankroll of , which is a buy-in of .

Now suppose we win the th session, then:

Our next optimal buy-in will become .

## Limitations

In the scenario above, we can observe large swings in the estimated win rate and updated optimal buy-in amount after a single session. This is because the high variance of the aggressive, all-in-only play style we adopted.

In normal poker plays, the variance will be much lower and as the play history grows, the updates will become incremental. The question now becomes whether Kelly’s Criterion still applies if there are more than outcomes. In fact, Kelly had made a general case for multiple outcome scenarios in his paper. I will continue this exploration in a future post.

[1]: We are also making the assumption that varying buy-in will not change our inherent edge/win rate. This assumption can be supported by implementing a floor of 100BB and a cap to our buy-in, no matter what Kelly’s Criterion suggests.

[2]: In reality, this play style is difficult to earn an edge, as players will only call our all-in with an even tighter range, causing our win rate to drop below 50%.

[3] Note that this only works if our winning is i.i.d. However, as we sit at a table longer, players will be more familiar with our strategy and therefore negatively affect our win rate.