# Drawdown Analytics

> Depth, duration, recovery factor and risk of ruin.

Module: Performance Analytics — Finotaur Academy (free lesson)
Source: https://www.finotaur.com/academy/performance-analytics/drawdown-analytics

## You'll be able to

Measure a drawdown's depth, duration and recovery from a trade log, calculate the recovery factor, and estimate risk of ruin so your position size matches the losing runs your strategy will produce.

## In plain words

A drawdown is the decline in account equity from a previous peak to a later low, and drawdown analytics measures how deep those declines go, how long they last and how quickly the account recovers. Return tells you what a strategy earns; drawdown tells you what it costs to hold it. It is also the statistic most likely to end a trading career — through a blown account, a breached prop-firm limit, or a trader who abandons a good strategy at the bottom.

```takeaways
- **Maximum drawdown** = largest peak-to-trough fall, in dollars, percent and R. Track **duration** too: time underwater hurts as much as depth.
- **Recovery factor = net profit ÷ maximum drawdown** — how many times the strategy has earned back its worst decline.
- **Risk of ruin** rises sharply as risk per trade grows. Small changes in size change survival odds by orders of magnitude.
- The worst drawdown in your history is a **floor, not a ceiling**, for what the future can bring.
```

## Quick demo

**Equity curve of the 20-trade log (hypothetical; $50,000 start, 1R = $250).**

```chart
{
  "type": "line",
  "title": "Equity after each trade, 20-trade log (hypothetical)",
  "data": [["Start", 50000], ["1", 50500], ["2", 50250], ["3", 50625], ["4", 50375], ["5", 51125], ["6", 50875], ["7", 50575], ["8", 50325], ["9", 50175], ["10", 50725], ["11", 50975], ["12", 50725], ["13", 51375], ["14", 51125], ["15", 51575], ["16", 51375], ["17", 52225], ["18", 51975], ["19", 52200], ["20", 51950]],
  "unit": "$",
  "highlight": ["5", "9", "13"],
  "notes": { "5": "Peak: $51,125.", "9": "Trough: $50,175 — down $950.", "13": "New high: $51,375. Recovery complete." },
  "caption": "Exact arithmetic on the hypothetical log. Not real trading results."
}
```

- **Peak** after trade 5: **$51,125**. **Trough** after trade 9: **$50,175**.
- **Maximum drawdown** = 51,125 − 50,175 = **$950**, or 950 ÷ 51,125 = **1.86%**, or **3.8R**.
- **Duration:** the account was below its peak for trades 6 through 12 — **seven trades** — and made a new high on trade 13. Recovery from the trough took **four trades**.
- **Recovery factor** = net profit ÷ max drawdown = 1,950 ÷ 950 = **2.05**.

## Full explanation

### Depth: measure it three ways

- **Dollars** — what you actually lost from the high.
- **Percent of peak equity** — comparable across account sizes and the basis of most prop-firm and fund limits.
- **R** — comparable across position sizes. A 3.8R drawdown means "about four full losses in a row, net". This is the number to compare with your strategy's expected losing streaks.

Track two levels: the **current drawdown** (where you are now versus your high) and the **maximum drawdown** (the worst so far). The current one drives decisions today; the maximum one sets expectations.

### Duration and time underwater

A 10% drawdown recovered in a week and a 10% drawdown that lasts six months are different experiences. Record:

- **Drawdown duration** — from the peak to the next new high.
- **Recovery time** — from the trough to the new high.
- **Time underwater** — the share of all days spent below a previous peak.

Long durations are where traders abandon strategies, increase size to "make it back" or start bending rules. Knowing your normal duration in advance — "my strategy typically spends three weeks underwater after a peak" — makes those weeks survivable.

### The recovery math

Losses and the gains needed to recover them are not symmetric:

```stats
−10% | needs +11.1% | to get back to the peak
−20% | needs +25.0% | to get back to the peak
−30% | needs +42.9% | to get back to the peak
−50% | needs +100% | to get back to the peak
```

The required gain is loss ÷ (1 − loss). This is why every serious risk framework caps drawdown early: the deeper the hole, the more the strategy has to outperform to climb out.

### Recovery factor and related ratios

**Recovery factor = Net profit ÷ |Maximum drawdown|**

It answers "how many times over has this strategy paid for its worst period?" The log's 2.05 means net profit is about twice the worst decline. As a rule of thumb, values below about 1 over a long record suggest the reward has not justified the pain, and higher is better — but like every ratio it depends on the length of history, because profit accumulates while maximum drawdown only ever grows.

Two related measures:

- **Calmar ratio** — annualised return ÷ maximum drawdown (see **Sharpe, Sortino & Calmar**).
- **Ulcer index** — the square root of the average squared percentage drawdown across all days. It penalises both depth and duration, so it captures "how often and how badly was I underwater", not just the single worst moment.

### Risk of ruin

Risk of ruin is the probability that losses reach a level at which you cannot continue — a blown account, or a prop-firm drawdown limit. For a simple case — a fixed bet size, win probability p, and wins and losses of equal size — the classic gambler's-ruin result gives:

**Risk of ruin = (q ÷ p)^N**

where q = 1 − p and N is the number of bets you can lose before ruin, assuming you never stop trading. With a 55% win rate (q ÷ p = 0.45 ÷ 0.55 = 0.818):

- Risk **10% of the ruin buffer per trade** (N = 10): 0.818¹⁰ ≈ **13.4%**.
- Risk **5% per trade** (N = 20): 0.818²⁰ ≈ **1.8%**.
- Risk **2.5% per trade** (N = 40): 0.818⁴⁰ ≈ **0.03%**.

Same strategy, same edge. Halving the size took ruin from 13% to under 2%, and halving it again took it near zero. Real strategies have uneven payoffs and changing win rates, so practitioners estimate ruin with **Monte Carlo simulation**: resample your own trade results in random order thousands of times and count how often the equity path hits your ruin level. The formula's lesson survives either way — survival is mostly a function of size.

```tip
Define "ruin" the way it actually applies to you. For a funded prop account it is the trailing or daily drawdown limit, not zero. Convert that limit into R, and you know how many consecutive losses your current size allows.
```

### Your worst drawdown is still ahead of you

The maximum drawdown in a sample is the worst that happened, not the worst that can happen. With more trades, the probability of a longer losing streak rises (see the streak table in **Win Rate vs. Payoff Ratio**). A common practice is to plan for a future drawdown of one and a half to two times the worst you have seen, and to size so that this larger figure stays inside your limits. Treat that multiplier as a planning convention, not a statistical law.

### Drawdown rules that protect the account

- **Hard stop:** pause live trading at a pre-set drawdown (in R or percent) and review.
- **Size steps:** cut risk per trade by a fixed fraction after a set drawdown, restore it after a recovery threshold.
- **Daily loss limit:** stop for the day after a fixed number of R lost, which caps the damage from tilt.

The **Risk Management & Psychology** module covers these rules in depth; analytics tells you where to set them, based on your own numbers.

### Common mistakes

- **Measuring drawdown only on closed trades** while open positions sit deep in loss.
- **Ignoring duration** and judging a strategy only by depth.
- **Sizing up to recover faster,** which raises risk of ruin exactly when it is already elevated.
- **Assuming the historical maximum drawdown is the worst case.**
- **Comparing recovery factors** across very different lengths of history.

```checklist
title: Drawdown analytics routine
- Plot the equity curve and mark each peak, trough and new high.
- Record maximum drawdown in dollars, percent and R.
- Record drawdown duration and recovery time for the worst three drawdowns.
- Calculate the recovery factor and note the sample length.
- Convert your account or prop-firm limit into R at your current size.
- Run a simple risk-of-ruin or Monte Carlo check before increasing size.
- Write down your pause rule and your size-reduction rule.
```

```quiz
[
  {
    "q": "Equity peaks at $60,000 and falls to $54,000. What is the drawdown in percent?",
    "options": ["6%", "10%", "11.1%", "90%"],
    "answer": 1,
    "why": "Drawdown = 6,000 ÷ 60,000 = 10% of peak equity."
  },
  {
    "q": "After a 20% drawdown, what gain is needed to return to the peak?",
    "options": ["20%", "22%", "25%", "40%"],
    "answer": 2,
    "why": "Required gain = 0.20 ÷ (1 − 0.20) = 25%."
  },
  {
    "q": "Net profit is $9,000 and maximum drawdown is $3,000. What is the recovery factor?",
    "options": ["0.33", "3", "6", "12"],
    "answer": 1,
    "why": "Recovery factor = 9,000 ÷ 3,000 = 3."
  },
  {
    "q": "In the even-payoff ruin formula, what happens when you halve risk per trade?",
    "options": ["Risk of ruin halves", "Risk of ruin is squared, so it falls much more than half", "Nothing changes"],
    "answer": 1,
    "why": "Halving size doubles N, and (q ÷ p)^(2N) = ((q ÷ p)^N)², so a 13.4% risk becomes about 1.8%."
  }
]
```
