Introduction to Quant Finance · Lesson 14
Compounding and the asymmetry of losses
Why a 50% loss needs a 100% gain to get back, and why big swings cost growth even when the average return stays the same.
Know the basics? Read the lesson notesDown 50%, then back up
Last lesson: a percent return is the change as a share of where you started (€100 to €110 is +10%). This lesson uses only that.
Here is a made-up account with €100 in it. It falls 50%. Press the button, then drag the gain up until the account is back at €100.
One made-up account
Grey: what's left after the fall. Colour: what the gain adds back. Dashed: the €100 start.
On the way, a gain of 50% only took the account to €75, because 50% of €50 is €25. Getting back took +100%: the account needed €50 more, and €50 is all of what was left.
A gain is measured on what you have now, and after a fall that's less than you started with.
Guess first: 30% and 80%
A 50% fall needed a 100% gain. Now picture two other accounts, each starting at €100. One falls 30%, the other falls 80%. What gain gets each one back to €100?
Every fall, and the gain back
Slide the fall from 0% to 80%. The curve is the gain that gets the account back to €100. The dashed line is what you'd need if gains and losses were symmetric: a gain the same size as the fall.
The gain that undoes a fall
Across: the fall. Up: the gain needed to get back to the start. Dashed: a gain the same size as the fall.
The reason is the same as before: the gain is measured on what's left. After a 30% fall you have €70 and need €30 more, and 30 ÷ 70 is about 0.43, so +43%. After an 80% fall you have €20 and need €80 more, which is four times €20: +400%.
Small falls need a little more than the fall. Big ones need far more, and the curve shoots up as the fall nears 100%.
Up 10%, down 10%
Here is an account that goes up 10% one month and down 10% the next, over and over. Its average return, all the monthly returns added up and divided by the number of months, is (+10% − 10%) ÷ 2 = 0% a month. Does it stay at €100? Step through 20 months.
Up 10%, down 10%, for 20 months (made up)
The account in euros, one dot per month. Dashed: the €100 start.
Each up-and-down pair ends lower: €100 → €110 → €99. The up month added 10% of €100, which is €10. The down month took 10% of €110, which is €11. So every pair leaves the account 1% lower.
After 20 months it's at €90.44, though its average return was 0% a month.
Same average, different swings
Now two made-up accounts that both average +1% a month for ten years, which is 120 months. Steady makes exactly +1% every month. Swingy makes +16% in half its months and −14% in the other half, which also averages +1%: (16 − 14) ÷ 2 = 1.
Steady ends at €330: €100 multiplied by 1.01, 120 times over. Where does Swingy end?
Turn up the swings
Both accounts average +1% a month. The slider sets Swingy's swing: how far each month's return sits from that average, up or down. At ±10%, Swingy's months are +11% or −9%. Swingy always has 60 up months and 60 down months, in an order shuffled at random. Slide from ±0% to ±20%.
Two made-up accounts, both averaging +1% a month
The account in euros over 120 months. Grey: Steady. Colour: Swingy, with the swing you set.
Take one up month and one down month together: they multiply the account by 1.16 × 0.86 = 0.9976, a little under 1. Swingy has 60 of each, so €100 gets multiplied by 0.9976 sixty times, and that leaves €87. Bigger swings cost more: at ±10% Swingy ends at €183, at ±20% at €30.
Was Swingy unlucky?
Maybe its down months just came at bad times. Keep the swing at ±15% and replay the same 60 up months and 60 down months in a different random order.
Swingy at ±15%: the same months, shuffled
Each line is one order of the same 60 months of +16% and 60 of −14%. Earlier orders stay in grey.
The path changes a lot: the second order climbs to €559 before it falls back. But every order ends at €86.57, the €87 from before. Multiplying gives the same answer in any order (1.16 × 0.86 is the same as 0.86 × 1.16), so the order of the months can't change the end.
The shortfall isn't bad luck. It comes from the swings themselves, and it has a name: volatility drag. Volatility is the finance word for how much returns swing.
Returns multiply: compounding
Each period's return (each month's, in this lesson) multiplies the account: +10% multiplies it by 1.10, a 10% fall by 0.90. Over many periods the multipliers multiply together. This is compounding, and the result over all the periods is the compound return.
A fall works the same way. A fall of L leaves 1 − L of the account. To get back, the gain G has to turn that into the whole account again: (1 − L) × (1 + G) = 1. Divide both sides by (1 − L), then subtract 1: that gives the third line below.
- r1 … rn
- each period's return as a decimal: +10% is 0.10, a 10% fall is −0.10
- n
- the number of periods (months, here)
- L
- the fall, as a decimal: a 30% fall is 0.30
- G
- the gain that gets back to the start, as a decimal: 1.00 is +100%
The 80% fall: G = 1 ÷ (1 − 0.80) − 1 = 1 ÷ 0.20 − 1 = 5 − 1 = 4, which is +400%.
Up 10%, down 10%: €100 × 1.10 × 0.90 = €99. Twenty months is ten such pairs: €100 × 0.99 × 0.99 × … ten times = €90.44, a compound return of 0.9044 − 1 = −0.0956, about −9.6%.
- each return is a return on the whole account, measured from where it stood at the start of that period;
- no money is added or taken out along the way;
- costs are already taken out of each return.
Money goes in or out between periods: then the same returns apply to different amounts, and the product no longer gives the end (lesson D9, Portfolio accounting).
Try it on new numbers. An account falls 60%. What gain gets it back to where it started? Type a percentage.
Swings cost growth: volatility drag
The plain average of the returns is the arithmetic mean. The rate the account actually grew at is a different number: the steady return per period that would reach the same end. That is the geometric mean, also called the compound growth rate: the first line below. Steady's is +1% a month.
Swings pull the geometric mean below the arithmetic mean, and the gap is the volatility drag. Here is why, around an average of 0: up by s then down by s multiplies the account by (1 + s) × (1 − s) = 1 − s2. So each up-and-down pair loses about s2, and each period about half that. Hence a rule of thumb, the second line:
- g
- the geometric mean: the growth per period you actually get
- end ÷ start
- how many times the account multiplied over all n periods
- 1 ÷ n
- the n-th root: the number that, multiplied by itself n times, gives end ÷ start (on a calculator, the x^y key with y = 1 ÷ n)
- a
- the arithmetic mean: the plain average return per period
- s
- the swing: how far a typical period's return sits from the average (for Swingy, exactly ±s every month). Its textbook name is the standard deviation (lesson A8, Volatility)
- s2
- s multiplied by itself
- ≈
- about equal: the rule is an approximation, close when the swings are small
At ±15%, from the end: (86.57 ÷ 100)1 ÷ 120 − 1 ≈ −0.0012, which is −0.12% a month. The same from one pair: an up month and a down month multiply by 1.16 × 0.86 = 0.9976, so one month is about 0.9988, its square root (0.9988 × 0.9988 = 0.9976): −0.12% a month. The rule of thumb: 0.01 − 0.15 × 0.15 ÷ 2 = 0.01 − 0.01125 = −0.00125, about −0.13%.
At ±10%: a = 0.01 and s = 0.10, so g ≈ 0.01 − 0.10 × 0.10 ÷ 2 = 0.01 − 0.005 = 0.005: +0.5% a month, half of Steady's. Exact: a pair multiplies by 1.11 × 0.91 = 1.0101, so one month is about 1.0050, its square root: +0.50%.
Up 10%, down 10%: 0 − 0.10 × 0.10 ÷ 2 = −0.005, so −0.5% a month, about −1% every two months, as you saw.
The swing counts squared: double it, from ±10% to ±20%, and the drag goes from 0.5% to 2% a month, four times as much.
- the swings are small next to 100%: up to about ±20% a period the rule is close (at ±50% around an average of 0, it says −12.5% a period where the exact answer is −13.4%);
- each return is compounded on the whole account, as in the first theory card.
Returns are lopsided, such as rare deep crashes among many small gains: then the swing alone understates the damage (lesson A6, Fat tails).
A trading strategy (a rule that decides when to trade) averages +3% a month, and its monthly returns swing about ±20% around that. Roughly what does the account grow at per month?
What this means for your backtest
A backtest runs a trading strategy over past prices to see what it would have made. Three habits follow from this lesson. Turn them over one at a time.
- Read the worst fall with the climb back in mind.
A backtest that once fell 50% needed +100% just to get back. Find its deepest fall from a high point, called the maximum drawdown (lesson A17), and work out the gain that undid it.
- Judge growth by the compound rate, not the average return.
An average of +1% a month can come with an account that shrank, as Swingy's did. The end value and the geometric mean already include the drag; the average return doesn't.
- Bigger swings cost more than they look.
The drag grows with the swing squared: from ±10% to ±20%, it goes from 0.5% to 2% a month. Bigger trades make the account swing more (lesson A18, Position sizing).
"One good year and you're back"
What gain does the account actually need to get back to where it was? Type a percentage.
Hint: a 40% fall leaves 0.60 of the account. The gain back is 1 ÷ 0.60 − 1.
Two backtests, two averages
Using the rule of thumb, which account grew faster?
Up 25%, down 20%
Where is the account now, compared with two years ago?
Lesson done
Returns multiply, so a loss and a gain of the same size don't cancel: after a fall, the gain is measured on less money, so it has to be bigger (−50% needs +100%). For the same reason, swings pull growth down even when the average return stays the same. To judge an account, look at how it actually compounded, not at its average return.
Key ideas
- Percent return
- the change as a share of where the period started
- Compounding
- each return multiplies the account, so returns multiply over time rather than add up
- Arithmetic mean
- the plain average of the returns
- Geometric mean
- the steady return per period that reaches the same end: the growth you actually got (also: compound growth rate)
- Swing
- how far a typical return sits from the average; its textbook name is the standard deviation (lesson A8)
- Volatility drag
- the gap between the arithmetic and the geometric mean, caused by the swings
Formulas
end = start × (1 + r1) × … × (1 + rn) · G = 1 ÷ (1 − L) − 1
g = (end ÷ start)1 ÷ n − 1 · g ≈ a − s2 ÷ 2
Falls of 30%, 50% and 80% need gains of about 43%, 100% and 400% to get back.