Sub topic 5
Drawdowns: How Far From the Peak
Assume you know basic percentages, averages, and how stock or fund prices change over time. This chapter uses a price series and focuses on drawdowns, not on predicting future returns.
What a drawdown measures
A drawdown is the percentage decline from a previous high point to a later value. It answers:
> How far is the investment below the best level reached so far?
For a price \(P_t\), first track the highest price seen up to that date:
Peak_t = \max(P_0, P_1, \ldots, P_t)The drawdown is:
Drawdown_t = \frac{P_t}{Peak_t} - 1The result is zero at a new high and negative below a previous high. A price of $80 after a previous peak of $100 has a drawdown of:
80/100 - 1 = -20\%A maximum drawdown is the most negative drawdown during the period. It describes the worst peak-to-trough decline, even if the investment later recovers.
Reading the peak-to-trough path
A drawdown has several useful dates:
- Peak: the earlier high before the decline.
- Trough: the lowest point before a recovery or new high.
- Recovery: the point where the price returns to its previous peak.
- Maximum drawdown: the largest percentage fall from a peak to a later trough.
A drawdown is different from a one-day loss. A one-day loss compares two adjacent prices. A drawdown compares the current price with the best earlier price.
Calculating maximum drawdown with Python
This function keeps a running peak and checks the percentage gap between the current price and that peak.
def max_drawdown(prices):
peak = prices[0]
worst = 0.0
for price in prices:
peak = max(peak, price)
worst = min(worst, price / peak - 1)
return worst
prices = [100, 120, 90, 110, 80, 130]
print(f"Maximum drawdown: {max_drawdown(prices):.1%}")The output is approximately -33.3%. The relevant decline is from 120 to 80. The later price of 130 does not remove the fact that investors experienced that earlier drawdown.
Common errors
A common mistake is to calculate the largest drop between any two consecutive prices. That measures the worst one-period return, not maximum drawdown.
Another mistake is using the final price as the reference point. Drawdown always uses the highest earlier value available at each date.
Prices also need a consistent definition. For a fund that pays distributions, adjusted prices or total-return data may better represent the investor’s experience. Mixing adjusted and unadjusted data can produce misleading drawdowns.
Maximum drawdown is also sample-dependent. A short data window may miss a severe decline that happened earlier. Two investments can have the same maximum drawdown while differing greatly in how long they stayed below their peaks.
Exercise
A fund rises from $50 to $75, falls to $60, and then rises to $80. What is its maximum drawdown during this period?
Show answer
The drawdown is from $75 to $60: 60 / 75 - 1 = -20%. The later rise to $80 does not change the historical maximum drawdown.