Quant for Free
Home / Learn / Surviving risk
Learn · Module 6

Surviving risk

A positive edge is necessary but not sufficient. Bet it too big and a normal losing streak ends you before the edge ever pays off. This module is about the other half of trading: sizing and discipline, the parts that decide whether you're still standing in year two.

What you'll learn
  • Risk of ruin — how a good strategy still goes to zero
  • Position sizing — fixed-fractional and the Kelly criterion
  • Drawdown tolerance — sizing for the pain you can actually hold
  • The discipline gap — why live returns trail the backtest
Module 6 of 8 · ~10 min read · uses Module 2

Risk of ruin: the edge isn't enough

Here's the trap that ends most accounts. You have a genuine edge — positive expectancy from Module 2 — and you still go broke. How? You bet too much per trade, hit a normal run of losses, and your capital falls so far it can't recover. That's risk of ruin: the probability a losing streak wipes you out before the edge has time to work.

The killer fact: risk of ruin depends far more on how much you bet than on how good your edge is. The same winning strategy is a compounding machine at 2% risk per trade and a guaranteed blow-up at 30%.

2% · safe 25% · likely ruin risk taken per trade → chance of ruin → Same edge — your bet size decides your fate
Risk of ruin climbs steeply with bet size. A few points of extra risk per trade can turn a winning strategy into a near-certain blow-up.

Position sizing: fixed-fractional and Kelly

So how much should you bet? The beginner-friendly answer is fixed-fractional sizing: risk a fixed small slice of your account — commonly 0.5% to 2% — on every trade. As the account grows, the dollar bets grow with it; as it shrinks, they shrink, which automatically slows you down in a slump.

The mathematically "optimal" answer is the Kelly criterion, which computes the exact fraction that maximises long-run growth given your edge. There's a catch the textbooks underplay: full Kelly is brutally aggressive — it tolerates gut-wrenching drawdowns and assumes you know your edge precisely (you don't). Almost everyone who uses it in practice uses fractional Kelly — a half or a quarter of the number — to buy a far smoother ride for a small cost in growth.

This is exactly what our Position Size & Risk of Ruin tool makes concrete: feed it your win rate and payoff, and it runs a Monte Carlo to show your risk of ruin, your Kelly fraction, and the spread of where you might end up.

Drawdown tolerance: size for the human

Module 2 introduced maximum drawdown as a backtest statistic. Here it becomes personal. A strategy with a −40% drawdown on paper will, at some point, actually be down 40% of your real money. Can you keep following the rules then? Most people can't — they quit at the bottom, which is the one guaranteed way to lock in the loss.

So size to a drawdown you can live with, not the one you can defend in a spreadsheet. Halving your position size roughly halves your drawdown. A slightly lower return you can actually hold beats a higher one you'll abandon in a panic.

The discipline gap

Here's the uncomfortable finale to the risk story. A backtest holds every position with perfect, emotionless discipline. A human second-guesses the entry, takes profits too early out of fear, freezes at the stop, or overrides the system after two losses. The difference between the backtested return and the one you actually realise is the discipline gap — and it's usually larger than any edge you found.

We measured this exact gap. Our three-part momentum teardown ended on it: a legendary trader's edge lived mostly in discretion and discipline the mechanical version couldn't capture. The rules were the easy part. Sticking to them, and sizing so you can, is the whole game.

Key terms from this module
Risk of ruin
The probability a losing streak wipes out your account before the edge pays off.
Fixed-fractional
Risking a constant small percentage of the account per trade.
Kelly criterion
The bet fraction that maximises long-run growth; use a fraction of it in practice.
Drawdown tolerance
The peak-to-trough loss you can actually hold without quitting.
Discipline gap
The shortfall between backtested and realised returns, caused by human behaviour.

Where to go next

You now understand the whole loop: idea, data, build, validate, and survive. The final module points you outward — the Python toolkit, the genuinely free resources, how to avoid the gurus, and a roadmap for your next year.

Find the bet size that survives

Tool
Position Size & Risk of Ruin — Monte Carlo your edge to see risk of ruin, Kelly, and the spread of outcomes
Educational content, not investment advice. This lesson explains concepts and methods only. Nothing here recommends any security, strategy, position size, or trade, or promises any outcome. Trading involves risk of loss. See the disclaimer.