TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Kelly Criterion – how to calculate optimal bet sizes

272 pointsby fernandohuralmost 4 years ago

19 comments

YossarianFrPrezalmost 4 years ago
It&#x27;s well worth implementing and testing out the Kelly Criterion. It&#x27;s super simple to code up in a Jupyter Notebook so that you get to enter an amount to bet each time. When I tried it, I found my own psychology changing as the bets continued, even when I knew the coin&#x27;s bias. It&#x27;s a really great demonstration of the difference between a) intellectually knowing the optimal strategy, and b) what actually happens.<p>A bet on a biased coin paradigm was actually tried in the real world with finance professionals, with a cap on the maximum payout. The results are described here: <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;1701.01427.pdf" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;1701.01427.pdf</a> It&#x27;s pretty interesting. (Note though that the &quot;average returns&quot; reported hide a lot of variation.)
评论 #27456692 未加载
评论 #27457136 未加载
zucker42almost 4 years ago
I wonder how professional gamblers approach bet sizing. It seems to me that for most applications the Kelly Criterion is not the right choice. The utility of money is asymmetric; gaining $25000 is worse than not losing $25000. Relatedly, most actual gamblers want to ensure good returns while not going broke, so minimizing risk of ruin is often more important than maximizing return rate. Further complicating the matter is that in real life you don&#x27;t know your actual probability of success, but you may have an estimation. And finally, though this is less commonly significant, your rate of return in a given game might depend on your the amount you bet.<p>From what I&#x27;ve seen in the poker community, no one has really approached this type of bet sizing from a rigorous perspective beyond the relatively simple Kelly Criterion.
评论 #27454723 未加载
评论 #27454762 未加载
评论 #27456834 未加载
评论 #27455903 未加载
评论 #27456262 未加载
评论 #27458488 未加载
评论 #27455149 未加载
评论 #27455503 未加载
评论 #27456767 未加载
fairityalmost 4 years ago
Perhaps I&#x27;m misunderstanding, but the post says that the optimal bet size f = 1-2p (where p is the probability of winning). But, this seems backwards. As p goes up, you should be betting more.<p>Shouldn&#x27;t the optimal bet size, f, be 2p-1?
评论 #27451925 未加载
pgealmost 4 years ago
Fortune&#x27;s Formula by William Poundstone is a fun read on the origin of the Kelly criterion, as well as the role of gangsters and bookies in the funding of the early communications infrastructure in the US.
评论 #27452660 未加载
sigmaskipperalmost 4 years ago
Used an abbreviated version to of the kelly criterion along with Markowitz portfolio optimization and applied it to sports betting. All I can say is that past results do not indicate future returns
评论 #27452481 未加载
jyriandalmost 4 years ago
How you will go bust in favorable bet by N N Taleb - <a href="https:&#x2F;&#x2F;youtu.be&#x2F;91IOwS0gf3g" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;91IOwS0gf3g</a>
评论 #27453716 未加载
评论 #27453999 未加载
bugzzalmost 4 years ago
A great investing blog I follow is <a href="https:&#x2F;&#x2F;breakingthemarket.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;breakingthemarket.com&#x2F;</a>. He talks about the Kelly Criterion and extending it to making correlated bets (investments).
epapsioualmost 4 years ago
This is so timely. I made this with a buddy of mine to help us figure out optimal allocation for stocks in a portfolio using Kelly. <a href="https:&#x2F;&#x2F;engine.oracled.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;engine.oracled.com&#x2F;</a>
评论 #27454315 未加载
评论 #27453902 未加载
评论 #27453953 未加载
评论 #27453640 未加载
评论 #27453802 未加载
评论 #27453652 未加载
orollealmost 4 years ago
You need to very carefull to apply Kelly Criterion to stock market, as you cannot precisely calculate the p of your investments. If you assume a too high p then you will overbet and its only a matter of time to go bust (see N. N. Taleb MOOCS on Kelly). Thus the Kelly Criterion should be your UPPER bound for real-life investments with uncertain p, stay well below the betting amount what Kelly Criterion would suggest so that you stay longer in game.<p>Related to this, the best investors in the world are quite old guys. Why? Because they lived long enough to accumulate enough wealth to be of public interest.
Fnoordalmost 4 years ago
&gt; Notice that when p is 0.4 G is 0. What this basically means is that you should never bet if the odds are against you.<p>Unless if you have a higher or other goal. For example, because you want to impress a woman, because your name is James Bond, or because (more likely) you earn as a result of the related drama of an outlier. This is why sometimes we see people losing and they gain from it on the longer term; they gain from it via advertising, for example. Influencers, advertisers, marketeers, terrorists -- they all abuse this mechanism.
mewse-hnalmost 4 years ago
I read about this on HN and then lost it for months when I wanted to apply it to a crappy game on a random discord server.<p>The game lets you bet on chicken fights and tells you the probability your chicken will win (starts at like 62% chance to win), so this kelly criterion is perfect. It&#x27;s a bit incredible how reliable it is.
piyhalmost 4 years ago
There&#x27;s a loose vs lose typo in the second paragraph. It&#x27;s like school teachers whipped they&#x27;re, their, there into our heads and where one typo door closes another opens.
评论 #27453283 未加载
awaythrowactalmost 4 years ago
<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26834333" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26834333</a>
Schwolopalmost 4 years ago
There&#x27;s a mistake in this: &gt; I won’t go too deep into the math, but it can be shown that G achieves its maximum when f=1-2p<p>Should be f=2p-1
aborsyalmost 4 years ago
But how much is it actually used in trading?
评论 #27451983 未加载
评论 #27451842 未加载
评论 #27452015 未加载
评论 #27451944 未加载
评论 #27452106 未加载
评论 #27451806 未加载
评论 #27452277 未加载
mywacadayalmost 4 years ago
Does anyone know of any formulas that would accommodate p changing on every bet?
评论 #27451919 未加载
评论 #27451853 未加载
sdzealmost 4 years ago
How about optimal bet sizes in parallel occurrences? It is more important because in portfolio theories you must diversify...
sigstoatalmost 4 years ago
read the original paper. the gambler&#x27;s formulation is garbage, which obscures all insight.
评论 #27457006 未加载
murbard2almost 4 years ago
The Kelly criterion is to financial math as the Fibonacci sequence is to mathematics. Yes it&#x27;s neat, no it&#x27;s not special, please stop bringing it up all the time.
评论 #27452746 未加载
评论 #27452224 未加载
评论 #27452633 未加载
评论 #27452076 未加载
评论 #27452904 未加载