Kelly Criterion: When the Optimal Bet Size Backfires
Trading Strategies 27 min read

Kelly Criterion: When the Optimal Bet Size Backfires


The Kelly criterion is a formula that tells you what fraction of your account to bet, given how often you win and how big your wins are next to your losses. It came out of information theory, and gamblers used it to size blackjack bets long before traders borrowed it. On paper it promises the fastest way to grow an account. We put it to work on a real, profitable gold strategy, sizing the very same trades three ways: a flat 2% per trade, half Kelly, and full Kelly. The flat 2% version ended in the green. Full Kelly lost close to forty percent of the account. The problem is not the formula, it is the data feeding it. Kelly only settles down after a long run of trades, and a daily trend strategy hands you barely a couple a year. Here is the math, the real numbers, and what to size by instead.

The Kelly criterion formula, by the textbook

Here is the thing you came for. The Kelly criterion answers one question: given an edge, how much of your account should you stake on the next bet?

The Kelly criterion formula explained: f equals b times p minus q, all divided by b, with the win rate, reward-to-risk ratio and loss rate labelled, plus bars comparing fixed, half Kelly and full Kelly sizing
The Kelly formula and its parts: the win rate, the reward-to-risk ratio, and the fraction of the account it tells you to bet. The bars on the right show how full Kelly stakes far more than a flat rule, half Kelly sits between them.

The formula looks worse than it is. It reads f* = (b × p − q) / b, and every letter is something you already track.

  • p is your win rate, the share of trades that win.
  • q is just 1 minus p, the share that lose.
  • b is your reward-to-risk, how many times its risk the average winner makes back.
  • f* is the answer: the fraction of your account to put on the trade.

Feed it a real edge and it spits out a percentage. That percentage is “full Kelly,” the size that grows the account fastest in theory.

Run it on this study’s early numbers and the trap shows itself. After the first five gold trades the win rate was 60% (so p = 0.60 and q = 0.40) and the reward-to-risk b came in at 1.48.

Plug those in and Kelly says stake a third of the account, about 33%, on a single trade.

We cap that at 25%, which is full Kelly here. Half Kelly is 12.5%, and the flat rule ignores the edge and risks a fixed 2%.

Most people who use it never bet the full amount. They bet half of it, or a quarter, and we will get to why that instinct is the smart one.

From blackjack tables to trading charts

The formula is not folklore. John Kelly, a physicist at Bell Labs, published it in the 1950s to size bets on noisy information.

The gamblers found it first. Card counters used the Kelly criterion for betting at blackjack, staking more when the deck favoured them and less when it did not.

Traders borrowed the same idea. A trade is a bet with a known-ish win rate and payoff, so in principle Kelly should tell you the position size that compounds fastest.

That is the theory that sells courses. We wanted the version that survives contact with real trades, so we needed a real strategy to size.

The strategy we sized three ways

You cannot judge a sizing rule on a losing strategy, because bad sizing just loses faster. So we built one with a genuine edge first, then changed nothing but the bet size.

Anatomy of the EMA 20 50 crossover entry on daily gold: the fast 20-day average crosses above the slow 50-day average while price holds above the 200-day EMA, marking a long entry
Gold, daily: the entry we sized. The fast 20-day average crosses up through the slow 50-day one while price sits above the 200-day line, a plain trend-following long.

The setup is a classic moving-average cross on spot gold (XAU/USD), on the daily chart. Nothing exotic, which is the point.

  • The trend backdrop first. Only go long, that is, only buy, when price is above its 200-day exponential moving average, the line that traces the long-term trend. Above it means uptrend, and that is the only place these buy trades are allowed.
  • The trigger. Buy when the fast 20-day average crosses up through the slow 50-day one. Momentum has just turned up inside a confirmed uptrend.
  • The stop. Under the recent swing low, the lowest low of the last ten days. The gap from entry down to that stop is your risk, the 1 in every risk/reward figure here.
  • The target. A fixed 2R, twice that risk. Risk a dollar, aim for two, a risk/reward of 1:2.
  • The backstop. If neither stop nor target is hit, close after 30 days.

The one-line version: trade with the 200-day trend, buy the 20/50 cross, stop under the swing low, aim for twice your risk.

Set it up yourself. On TradingView (or MT4/MT5), load daily gold (XAU/USD) and add five built-in indicators:

  • Three Moving Average Exponential lines, set to 20, 50, and 200 periods, applied to the close.
  • ADX with a length of 14, for the trend-strength read we cover further down.
  • Average True Range (ATR) with a length of 14, for the volatility read.

That is the whole chart. The 20 and 50 lines give you the cross, the 200 line is the trend filter, and ADX and ATR are the two quality checks.

Over an eight-year daily window that setup made money. Not a fortune, but a small, genuine edge, and that is all Kelly needs to work with.

Does the strategy actually pay?

Before touching Kelly, here is the base strategy sized the boring way: a flat 2% of the account risked on every trade.

Here is what that 2% looks like in real money. On a $1,000 account, 2% is $20 of risk on the trade.

If the swing-low stop sits about $50 below your gold entry, you size the position so a $50 move against you loses that $20, which works out to roughly 0.004 lots.

A lot is the standard trade-size unit brokers use, so 0.004 lots is tiny: about 0.4 ounces of gold, near the smallest size many brokers allow.

That position is only about 0.75 times your account in notional gold, comfortably under 1x. Notional just means the full face value of the gold you control, not the small margin you put up to hold it.

So the stop distance sets the size, not the leverage your broker offers.

Leverage here is only margin headroom, the collateral to hold the position open, not extra risk on the trade. The rest of the broker’s leverage simply sits unused.

Equity curve of the EMA 20 50 gold strategy at fixed 2 percent risk: 1000 dollars grows modestly to 1063 dollars over 15 trades across eight years with a 12 percent maximum drawdown
Gold, daily: $1,000 with a flat 2% risked per trade, sized to the stop, fees included. Fifteen trades over eight years end near $1,063, with a worst dip of about 12%.
Gold daily · EMA 20/50 cross · fixed 2% · 8-year trade history
Trades15
Win rate53%
Reward-to-risk1:2 target
Profit factor1.76
Max drawdown−12%
Avg holdup to 30 days
Net return on $1,000+6%

Two numbers in that table deserve a plain word. Profit factor is the total dollars won divided by the total dollars lost, so 1.76 means the system made $1.76 for every $1 it gave back.

Max drawdown is the worst peak-to-trough dip in the account along the way, here about 12%.

Read the return honestly. A +6% gain over eight years is modest, and I would call it barely worth trading on its own.

But it is genuinely positive, with a healthy profit factor and a shallow drawdown. It is a clean edge to test a sizing rule against, which is exactly what we needed.

One honest caveat before we go on. Split the eight years in half and the edge is lopsided.

The first four years, 2019 to 2022, barely broke even, a 37.5% win rate and a profit factor of just 1.13. Almost all the gain came from the 2023 to 2025 gold bull run, where the profit factor jumped to 3.31.

So treat this as a trend-only strategy: it pays when gold runs hard in one direction and roughly treads water when it does not.

The engine only fired fifteen times in eight years, because a daily cross above the 200-day line is a rare, patient signal.

Hold that number in mind. It turns out to be the whole story.

A clean cross, start to finish

Here is one of those trades, from the entry to the exit.

Gold daily EMA 20 50 crossover winning trade: the fast average crosses above the slow one above the 200-EMA, a buy near 1903 that captures about one times its risk, roughly half the 2R target
Gold, daily: the fast average crosses up above the 200-day line near $1,903. Price captures about +1R, roughly half the 2R target, before the 30-day rule closes it, which is why the average trade lands under the 2R the target promises.

Two quick labels first. The lower panel is ADX, a trend-strength gauge we cover further down, and the small “+1.0R” on the chart just means the trade made about one times the amount it risked.

Gold was grinding higher above its 200-day line. The fast average had been flat, then crossed up through the slow one, the green triangle.

That is the entry, near $1,903. The stop went under the swing low, and the target sat twice that distance above.

Price climbed for a few weeks, so on an account risking 2% this trade added about +1R, roughly half of what the full 1:2 target would pay.

Notice it did not reach the full target. It ran partway, then the 30-day rule closed it at about +1R, roughly half the 2R the target promises.

That is normal, and it is exactly why the average trade here lands below 2R.

The winner that only crawled

One clean runner flatters any strategy. Here is a more honest one, the highest-quality entry in the whole study, and it barely paid.

Gold daily EMA 20 50 crossover trade that stalled: a high-quality cross above the 200-EMA near 1981 drifts sideways and the 30-day rule closes it just above breakeven
Gold, daily: a textbook cross near $1,981, calm market, strong trend. It drifted sideways and the 30-day rule closed it just above breakeven, a small win rather than the 2R target.

By the numbers this was the cleanest signal in the eight years. Calm market, strong trend, the entry the filters love.

And it went almost nowhere. Price wandered, never reached the stop below or the target above, and the 30-day backstop closed it a whisker in the green.

This is the outcome the highlight reels skip. A perfect-looking entry is not a promise, it is a probability, and plenty of them just fizzle.

The strategy still works because its handful of full 2R winners more than pay for trades like this one. That shape matters more than any single chart.

When the cross fails

On the desk, nobody trusted a setup until they had watched it lose. Here is one that did.

Gold daily EMA 20 50 crossover trade that failed: a clean cross above the 200-EMA with entry near 2696 rolls over and stops out near 2613 for a full 2 percent loss on the account
Gold, daily: a clean cross with entry near $2,696 that still lost. Price rolled over and stopped out near $2,613, a full 2% loss on the account in about a week.

The cross fired above the 200-day line and looked just like the winners. Then gold turned down.

The stop did its job and capped the damage at the 1 we risked, a flat 2% of the account. No drama, no widening the stop to “give it room,” just a small, controlled loss.

A win rate of 53% means you lose almost half the time. Your only job on those trades is to keep each loss near that 1.

The swing-low stop does exactly that.

The key finding: Kelly sized it into the ground

Now the experiment. Same fifteen trades, same entries and exits, three different sizing rules laid over the top.

Only the bet size changes.

Three equity curves on the same gold strategy: fixed 2 percent ends slightly up near 1063 dollars, half Kelly falls to 822 dollars, and full Kelly collapses to 616 dollars, showing Kelly sizing hurt at low trade frequency
Gold, daily, the same trades sized three ways. The flat 2% line ends in the green. Half Kelly bleeds, and full Kelly falls off a cliff to about $616. The signals were identical; only the bet size differed.
Sizing methodFinal on $1,000ReturnMax drawdown
Fixed 2%$1,063+6%−12%
Half Kelly$822−18%~30%
Full Kelly (25% cap)$616−38%~48%

Look at that and sit with it. The strategy was profitable, and Kelly sizing turned it into a losing account.

Full Kelly did not just underperform. It lost 38% of the money and put the account through a near-50% drawdown to do it.

Half Kelly, the “safer” version, still lost 18%. The dull, flat 2% rule was the only one that finished ahead.

This is the opposite of what the formula promises. Optimal sizing is supposed to be the fast lane, not the ditch.

So we pulled the trades apart to see where it went wrong.

Why full Kelly blew up

Kelly re-estimates the bet size from your recent trades. Early on it has almost no data, so it starts with a flat 2% for the first few trades and then switches on.

The switch is where it broke. After five trades, three winners and two losers, Kelly did its sum.

  • The win rate looked like 60% (three of five).
  • The average winner looked about 1.5 times the average loser, so b came out near 1.48. That is below the 1:2 target the strategy aims for, because the 30-day rule often closes trades before they reach the full 2R, so the average winner is smaller than the target.
  • Plug in: (1.48 × 0.60 − 0.40) ÷ 1.48 = 0.488 ÷ 1.48 = 0.329.

Kelly said stake 32.9% of the account on the next trade, and only our 25% safety cap held it back. A quarter of the account, on one gold trade.

That trade took a full stop. In a single loss, full Kelly gave back 25% of the account.

TradeOutcomeFixed 2% betFull Kelly bet
6thfull stop2%25%
7thfull stop2%15%
13th1:2 win2%3%
15th1:2 win2%8%

Read the bottom two rows, because they are the other half of the disaster. By the time the big 1:2 winners arrived, Kelly had shrunk the bet to 3% and 8%.

So it bet huge into a loser and tiny into the winners. It got the sizing exactly backwards, every time, and the reason is not bad luck.

Five trades is not a sample, it is a rumour. A 60% win rate measured over five trades can easily be a true 45% strategy on a hot streak, and Kelly cannot tell the difference.

It takes the noisy estimate literally and bets the account on it.

How many trades Kelly actually needs

This is the useful lesson, and it is a number. The Kelly fraction only converges toward the right size after a long run of trades, on the order of 50 to 100 or more.

Our gold strategy produced fifteen in eight years. At roughly two trades a year, you would need something like 25 years of daily gold before the estimate steadied.

By then the market has changed regime several times over, so the “true” win rate you are measuring no longer exists. The formula never gets the sample it needs.

The rule of thumb: the fewer trades you take, the more dangerous full Kelly is, because it is sizing off noise.

Kelly is not useless, though. It has a natural home, and it is the opposite of this strategy.

A fast, high-frequency system on the 1-hour or 15-minute chart can take 200 to 500 trades a year. There, the win rate and payoff estimates actually stabilise, and a fractional Kelly can genuinely help.

On a slow daily swing strategy, it is the wrong tool.

Half Kelly, and the sane way to use the formula

Serious Kelly users almost never bet full Kelly. They bet half, or a quarter, and the reason maps straight onto our numbers.

Full Kelly is the mathematically fastest growth only if your inputs are exactly right. Get the win rate a little too high, which small samples always do, and you are wildly oversized.

Half Kelly gives up a sliver of theoretical growth for a large cut in risk and drawdown. It is the version worth knowing.

But notice what our data showed. Even half Kelly lost 18% here, because halving a bet that is built on a five-trade rumour still leaves it far too big.

The honest takeaway: fractional Kelly is a real tool for high-frequency systems with hundreds of trades behind the estimate.

For everything slower, a flat percentage like 2% is not a compromise. It is the better rule.

The filters worth watching

While we had the strategy open, we checked what separated the good crosses from the coin-flips. Two things stood out, though both are watchlist hints here, not hard rules.

The first is trend strength, read with ADX, a gauge that runs from zero to about 60. Crosses that fired with ADX above 22, a genuine trend, all won in our sample.

The second is calm. Using average true range, a plain volatility gauge, the crosses that fired on quiet, low-range days beat the wild-day ones by roughly five to one.

Here is the catch, and it is why these are hints not rules. Each filter left only four or five trades in eight years, far too few to trust as a hard cutoff.

Use them as quality checks. When a cross lines up with a strong, calm trend, it deserves more of your attention. Just do not let a filter this thin talk you into betting bigger, because that is the exact mistake Kelly made.

What this costs you, and the discipline it needs

This strategy asks for patience more than nerve. Two trades a year means long stretches of nothing, and the edge is thin enough that one impatient oversized bet can undo a year of it.

That is really the whole article in one line. The sizing rule matters as much as the signal, and the temptation to press after a couple of wins is exactly what sinks the account.

A few concrete habits, tied to these numbers.

  • Risk the same 2% every time. Do not size up after a loss to win it back, and do not size up after two wins out of euphoria. That instinct is home-made Kelly, and it fails the same way.
  • Use a circuit-breaker. If you take three to six losses in a row, gold may have stopped trending. Pause and check that price is still making clean higher highs above the 200-day line before the next trade.
  • Run a calm live-versus-data check. One bad month is just variance across only two trades a year, so do not panic-quit. A long, wide gap between your results and these numbers means the trend has faded, and this is not a range or bear-market strategy.

Gold is expensive, so on a small account the daily stops can size below one micro lot at an honest 2% risk. A micro lot is the smallest standard trade size at most brokers, 0.01 lots.

If that is you, practise on a demo or use a broker that offers fractional or cent-lot sizing, accounts that let you trade in even smaller increments, rather than stretching your risk to force the trade.

One more honest number. Simply buying and holding gold across these eight years returned far more on paper, well over 200%, against our 6%.

That is bull-market math, not a failing of the strategy. A timed long will always trail raw buy-and-hold in a historic one-way run.

What the strategy gave instead was a 12% worst drawdown against buy-and-hold’s roughly 27%, plus a rule for stepping aside if gold stops trending. You gave up raw return for a much calmer ride, and Kelly sizing threw that calm away.

Common mistakes with the Kelly criterion

  • Betting full Kelly. It is only optimal if your inputs are perfect, and they never are. Full Kelly on noisy data is how the account in this study lost 38%.
  • Estimating from a handful of trades. Five or ten trades cannot tell you your real win rate. Kelly believes the small sample and oversizes on it.
  • Using it on a low-frequency strategy. A daily swing setup gives too few trades for the fraction to ever settle. Save Kelly for fast systems with hundreds of trades a year.
  • Sizing up after a hot streak. This is Kelly by feel, and it fails for the same reason: a streak is not a new edge.
  • Ignoring the drawdown. Full Kelly’s near-50% dip is unbearable in practice. Most people quit at the bottom, locking in the loss.

Where to go from here

The lesson here is not that the Kelly criterion is broken. It is that a sizing formula is only as good as the win rate and payoff you feed it, and most strategies never give it enough trades to trust.

If you take one thing away, size a slow strategy with a flat percentage, and save fractional Kelly for a fast one with a real trade count behind the estimate. Our position sizing guide walks through the flat-percentage method in full, and the risk/reward ratio guide covers the payoff number Kelly leans on.

Three configurations to lift straight off the page:

  • Gold, daily, EMA 20/50 cross, fixed 2%. Long above the 200-day line, buy the cross, stop under the ten-day swing low, target twice the risk. Modest but real, and calm.
  • The same strategy, quality-checked. Take the cross more seriously when ADX reads above 22 and the market is quiet, but keep the bet size flat.
  • Kelly, but only for fast systems. If you run a 1-hour or 15-minute strategy with hundreds of trades a year, a half or quarter Kelly is worth testing. On anything slower, do not.

The bottom line: the optimal bet size is only optimal when the numbers behind it are solid. Feed Kelly a thin, slow strategy and it will happily size you into the ground.

FAQ

What is the Kelly criterion, in plain terms?
The Kelly criterion is a formula that tells you what fraction of your account to bet on a trade, based on how often you win and how big your winners are next to your losers. It reads f = (b times p minus q) divided by b, where p is your win rate, q is your loss rate, and b is your reward-to-risk. The output, called full Kelly, is the bet size that grows an account fastest in theory. In practice most people bet a half or quarter of it, because the full amount is dangerously sensitive to errors in the inputs.
Does the Kelly criterion work for trading?
Only when your strategy produces enough trades to estimate its win rate and payoff reliably, which means roughly 50 to 100 or more. In our test on a daily gold strategy that fired just fifteen times in eight years, full Kelly turned a profitable system into a 38% loss, and half Kelly still lost 18%. The formula sized off a tiny, noisy sample and got the bets backwards. It is far better suited to fast, high-frequency systems with hundreds of trades a year.
What is the Kelly criterion formula?
The formula is f = (b times p minus q) divided by b. Here p is the probability of winning (your win rate), q is 1 minus p (the probability of losing), and b is the reward-to-risk ratio, how many times its risk the average winner makes back. The result f is the fraction of your account to stake. For example, a 60% win rate with a reward-to-risk of about 1.5 gives roughly 33%, which is a huge and usually reckless bet size.
What is the difference between full Kelly and half Kelly?
Full Kelly is the raw output of the formula, the size that maximises long-run growth if your inputs are exactly right. Half Kelly is simply betting half that amount. Half Kelly gives up only a small slice of theoretical growth but cuts risk and drawdown sharply, which is why almost every serious user bets a half or a quarter rather than the full fraction. In our low-frequency test even half Kelly lost money, because halving a bet built on a five-trade sample still leaves it far too large.
Why did Kelly lose money in this test?
Because the strategy took only about two trades a year, Kelly was always estimating from a handful of results. After five trades it read a 60% win rate, sized the next bet at the 25% cap, and that trade took a full stop, costing a quarter of the account in one loss. By the time the big winners arrived, the fraction had shrunk to a few percent, so it under-bet them. It sized huge into losers and tiny into winners, which is what small-sample noise does.
How many trades do you need for the Kelly criterion to be reliable?
Roughly 50 to 100 trades at a minimum, and more is better, because the fraction only converges toward the correct size as the win rate and payoff estimates stabilise. A daily swing strategy that takes two trades a year would need decades to get there, by which point the market has changed regime. This is why Kelly suits fast, high-frequency systems on the 1-hour or 15-minute chart, which can take hundreds of trades a year.
Is there a Kelly criterion calculator?
Yes, plenty of free Kelly criterion calculators exist, and they all do the same simple sum: you enter your win rate and your reward-to-risk, and they return the suggested fraction. The catch is not the arithmetic, it is the inputs. A calculator will happily take a win rate measured over ten trades and hand you a confident-looking bet size that is really just noise. The formula is only as trustworthy as the sample behind the numbers you type in.
Where does the Kelly criterion come from?
John Kelly, a physicist at Bell Labs, published it in the 1950s as a way to size bets on noisy information, drawing on information theory. Gamblers picked it up first, using it for betting at blackjack, staking more when the deck favoured them. Traders later borrowed the same logic, treating a trade as a bet with a known win rate and payoff. The maths is identical; only the game changes.
What should I size my trades by instead?
For most strategies, especially slower ones, a flat percentage of the account is the better rule, and 2% risked per trade is a common, sane choice. It is simple, it does not blow up on a hot streak, and in our test it was the only sizing method that finished ahead. Fractional Kelly is worth considering only once you run a fast system with hundreds of trades behind the estimate. Until then, a fixed percentage beats a clever formula fed on thin data.
Does the Kelly criterion work in betting and blackjack?
That is where it earned its reputation, because a card counter can measure the edge precisely and play thousands of hands, so the sample is huge and the odds are known. Those are the ideal conditions for Kelly, and they are exactly what trading lacks. In markets the win rate is an estimate that drifts, and most strategies never produce enough trades to pin it down, which is why blackjack success does not transfer cleanly to a slow trading system.
What are the key terms in this guide?
Kelly criterion: a formula for the fraction of an account to bet given an edge. Full Kelly: the raw output of that formula. Half Kelly: betting half of it, the safer common choice. Win rate (p): the share of trades that win. Reward-to-risk (b, written 1:2): how many times its risk a trade makes back. Profit factor: total dollars won divided by total dollars lost across all trades, above 1.0 is profitable. Max drawdown: the worst peak-to-trough dip in the account. EMA: exponential moving average, a moving average that traces the trend.

🌍 Our recommended brokers

★★★★☆ 4.4
CySEC · ASIC Since 2009 $5
EUR/USD spread 1.6 pips
Min deposit $5

Regulated broker, $30 no-deposit bonus. 1000+ instruments.

Claim Bonus →

74% of retail CFD accounts lose money.

Compare top forex brokers →
★★★★★ 4.6
FCA · CySEC Since 2007 $50
Copy trading ✓ Built-in
Min deposit $50

Trade stocks, crypto and forex. 30M+ users worldwide.

Join eToro →

74% of retail CFD accounts lose money.

Full eToro review →

Reader Reviews

0.0 No reviews yet

Be the first to review this — tell other traders what actually helped, or where it fell short.

Leave a Review

Nina Carr
Nina Carr

Quant Researcher & Systems Builder

Quantitative researcher who builds the automated systems behind Arxum strategy testing. Works in Python and Pine Script, using AI alongside classic backtesting to validate strategies on years of real data.

Strategy AutomationPython & Pine ScriptAI-Assisted BacktestingSystematic Validation