6 ms·
Deriving the Kelly Criterion to Maximise Profits
- wenc 2y agoThe Kelly criterion is almost never used as-is because it is very sensitive to probability of success, which is hard to know accurately and in many cases, dynamically changing. This is easy to see in an Excel spreadsheet. Changing the probability by even 0.01 percent can vastly shift the results. The article calls this out in the last paragraph. The article mentions fractional Kelly is a hedge. But what fraction is optimal to use? That is also unknowable. Finance folks, correct me if I’m wrong, but the Kelly Criterion is rarely used in financial models but is more a rule of thumb that says roughly if you have x $ and probability p, in a perfect world you should only bet y amount. But in reality y cannot be determined accurately because p is always changing or hard to measure.
- eftychis 2y agoI am not sure what you mean by "never used as is." The Kelly criterion is an optimization of capital growth (its logarithm) method/guide. Not using it doesn't change its correctness. But yes you need to know the advantage/the edge you have. Like with pricing methods eg for European options for Black Scholes you need to know the volatility and there is no way to know it, you estimate. This is where all the adjusting for bias and ML comes in.
- wenc 2y agoBut do you calibrate p (say through estimation) and then apply the Kelly criterion in your portfolio? I don’t think it is used in this way. It swings too much with a given p.
- uoaei 2y agoYou calibrate for a reasonable distribution of p and use that to estimate (Monte Carlo, etc.) expected gain, optimizing your investment based on that. With this technique your estimate will probably end up somewhere around the common heuristics.
- intuitionist 2y agoYeah, but I think this misses the point a bit. The fact that your true edge isn’t knowable wouldn’t be so bad except that if you’re betting full-Kelly and overestimate your edge even a little bit, your probability of ruin in the long run goes to 1. Whereas if you underbet, you’ll compound wealth at a little lower rate but won’t risk ruin.
- kqr 2y ago> Changing the probability by even 0.01 percent can vastly shift the results. No, not generally. Since it's a quadratic function we're optimising, it's surprisingly flat at the top. Sure, there are some bets where the edge is tiny and 0.01 percent is a large proportion of that, but that doesn't invalidate the Kelly criterion – by what other criterion would you determine the appropriate bet size? > is more a rule of thumb that says roughly if you have x $ and probability p, in a perfect world you should only bet y amount. It applies far more broadly than to binary bets. It tells you how to allocate your spending optimally across any number of opportunities, based on joint probability of outcomes. Both of your misconceptions are common, and they are addressed in the article linked in the submission: https://entropicthoughts.com/the-misunderstood-kelly-criterion https://entropicthoughts.com/the-misunderstood-kelly-criteri...
- quickquest 2y agoFor the coin flipping scenario, what happens to the casino? Shouldn't they lose money in the long run as well? Or is it that they're under the kelly threshold with all the house cash?
- headPoet 2y agoThe casino will break even, but for the gamblers there will be a small number that win big, and a much larger number that lose out. Consider two rounds, there's a 25% chance you 4x your money, a 50% chance you 0.75x your money and a 25% chance you 0.25x your money
- gwbrooks 2y agoA million years ago, when you could still find video poker games with 100%+ theoretical return or poorly thought-out promotions offering enough cash-back to get you over 100%, we'd calculate the Kelly number for a given opportunity -- the bankroll necessary to ride out hills and valleys in favorable situations. Spoiler: It's almost always 3-4x the value of a royal flush. So you needed $12-16k if you were playing a $1-per-coin game with a 1% edge at a pretty good clip. And what do you earn with perfect play in that situation? The princely sum of around $30 an hour.
- bdjsiqoocwk 2y agoI would like to understand in detail what you just wrote. "$1 per coin game" is this a game where you put in $1 to play and get paid either $2 or $0 with 50-50 probability (0 expected). And the what does it mean %1 edge? Does it mean the probabilities are such that the expected payout is 1c per coin flip?
- bayesianbot 2y agoHe means video draw poker machines, where you get paid a multiple of your bet depending on your final hand. Most online casinos used to have bonuses where the required wagering amount to clear the bonus multiplied by the return value of certain games led to a positive expected value for the player. So as example you'd deposit say $100, get $100 bonus, wager on video poker for $2000, getting back 99% of the wager for average of $20 loss from the wagering and $180 cashout. Much more rarely there also were some games that when played optimally, would give slightly over 100% return for your bet. The casinos were banking on most players playing them suboptimally and/or getting hooked. Even though it's +EV for the player, you'd need some bankroll to ride out the variance as you could lose on X casinos in a row. Ages ago these were really +EV and you could usually just autoplay them with small bets, so the bankroll requirements weren't that harsh. Later on the wagering requirement on the bonuses grew, often making the small bet grind unprofitable, but you could still find profitable situations when played with correct bet sizing. But those needed much bigger bankroll as usually it was more +EV the bigger the bets you made, so you'd often play many casinos for just a few minutes with big bets losing your deposit and bonus, but sometimes winning big and covering the losses with profit left over.
- avidiax 2y agoHere's a link to a bigger graph for the Blackjack Scenario: https://github.com/obrhubr/kelly-criterion-blackjack/blob/master/.github/images/growth_rates.png https://github.com/obrhubr/kelly-criterion-blackjack/blob/ma... I think it shows that Blackjack is not even theoretically winnable over time if you have to pay for information on the count in the form on minimum bets. The ideal case it that you bet $0.49 for every $1,000 in your investment pool when the count is extraordinarily high. Even if you hack the casino's cameras so you know the count without having to be at the table, your reward is a growth rate that is very low per hand.
- obrhubr 2y agoThanks for linking the image. You're right in my simulation there is almost no growth, even at a high count and if you're forced to bet every round you would certainly lose money. But it's a simplistic simulation and a real casino offers slightly better odds if the rules are right.
- roenxi 2y agoA word that is good to know here is ergodic [0]. Which I must admit to not really understanding although it is something like the average system behaviour being equivalent to a typical point's behaviour. If a process is non-ergodic then E[X] is usually not as helpful as it seems in formulating a strategy. [0] https://en.wikipedia.org/wiki/Ergodic_process https://en.wikipedia.org/wiki/Ergodic_process
- KK7NIL 2y agoSome math/finance nerds made a whole YouTube channel about ergodicity, which I've been really enjoying: https://youtu.be/VCb2AMN87cg https://youtu.be/VCb2AMN87cg Nassim Taleb also talks about this quite a lot: https://youtu.be/91IOwS0gf3g https://youtu.be/91IOwS0gf3g TL;DR: while a single investment may be ergodic, portfolio management (the math behind weighting successive and concurrent investments/bets) is not, as it has a strong dependence on all prior states.
- uoaei 2y agothis comment may be confusing and I doubt this will help much but: Ergodicity is less about memorylessness and more about the constraints on transitions into this or that state. A system is ergodic if "anything that can be an outcome, eventually will happen".
- diab0lic 2y agoAn example that may be useful to aid in understanding… Casinos are non ergodic. A million players each placing a single bet will have an expectation of losing the house edge. A single player placing a million bets has an expectation of $0. The fact that the aggregate and the single entity Experience different expectations despite both placing a million bets is what makes this ergodic.
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- CrazyStat 2y agoI had never paid much attention to Effective Altruism or SBF before FTX blew up, but when that happened I spent some time reading old EA forum posts and SBF tweets and interviews. One of the things that absolutely shocked me was the dismissal of the Kelly criterion by SBF and other EAs. The argument was that the Kelly criterion was only rationalized by a logistic utility function, and if you were going to use your money for altruistic purposes a linear utility function is more appropriate (at least up into the trillions of dollars) because you can help twice as many people with $200 billion as you can with $100 billion. This argument was used--by SBF and others--to justify truly absurd risk taking. I don't think it's an exaggeration to suggest that this misunderstanding may have been one of the primary drivers of Alameda's (and hence FTX's) downfall. For a group with as many smart people as EA and as many people obsessed with existential risks as EA not to have started screaming en masse when SBF suggested he would take a 51-49 bet on doubling utility or deleting all known life out of existence[1] is insane. The mathematical misunderstanding is one part of it. Kelly betting dominates any other betting strategy in the sense that as the number of bets increases the probability that the Kelly better will have more money than someone following any other strategy approaches 1. You don't need a logarithmic utility function. If I bet Kelly and you follow some other strategy, eventually I will almost surely end up with more money and more utility than you. I suspect another part of it is a misunderstanding by SBF (and perhaps others) of Jane Street's trading strategy. Jane Street encouraged their traders to be "risk neutral", which can be expressed as maximizing expected utility with a linear utility function. They wanted their traders to be willing to take big risks. But any individual trader is only working with a tiny fraction of Jane Street's capital, so even if they're risking all the money they've been given to work with on a bet that's still a small bet relative to the entire company. SBF seems to have taken that same risk neutral idea and applied it to the entirety of Alameda/FTX's available capital (and indeed expressed a willingness to apply it to the combined utility of the entire world), with predictably disastrous results. [1] https://elmwealth.com/a-missing-piece-of-the-sbf-puzzle/ https://elmwealth.com/a-missing-piece-of-the-sbf-puzzle/
- evrydayhustling 2y agoWhat a great example of Dunning-Kruger as applied to elites. I remember the spike of interest in DK bias during the pandemic [1], largely as a way of explaining how uneducated folks could be so confidently incorrect about vaccination strategies. In reality it can strike in any social strata -- like a bunch of professional traders wielding billions of dollars, smugly misunderstanding Kelly. [1] https://trends.google.com/trends/explore?date=today%205-y&geo=US&q=%2Fm%2F0714hr&hl=en https://trends.google.com/trends/explore?date=today%205-y&ge...
- mhh__ 2y agoAll these probabilities and so on are basically unknowable so the real utility of this kind of thing for a hedge fund is converting a traders view into a suggested size so they take the amount of risk that they're being paid to take.
- nighthawk454 2y agoA few links through, this Ship Investor simulator is a great super-simple game to test some intuition: https://xkqr.org/ship-investor/ship-investor.html https://xkqr.org/ship-investor/ship-investor.html
- mudita 2y agoThe game is a bit weird. It often offers very bad deals, without an option not to invest. For example for the Gibraltar strait, the game gives the information that the probablity of success is between 90% and 100% and that it’s been traversed 31 times with a 90 % success rate. Then it offers me the choice between an investment of different sizes, where I cannot win back more than my investment, so I have to risk money for no possible gain (invest 167 ducats in shipment worth 167 ducats).
- kqr 2y agoAuthor here. Huh, you're right. 13 turns into the first scenario I opened[1] I get offered very weird deals, such as investing my full 184 ducats in a shipment worth only 182 ducats. Or! Investing 1878 ducats when I only own 184... I wrote this game a few years ago, and it didn't use to have this bug. I can't take the time to figure it out now, but clearly something went wrong along the way! [1]: Fortunately it's easily reproducible: put down the minimum in all first 12 turns and then look at the weirdness that is turn 13! https://xkqr.org/ship-investor/ship-investor.html?seed=883 https://xkqr.org/ship-investor/ship-investor.html?seed=883