Examples / Everyday
QQQ's worst drawdowns and how long they took to recover
Level 2 · EverydayPOST/v1/drawdowns
What it answers
Lists every decline of at least 10% from a peak, deepest first, with how long it took to reach the bottom and to get back to the old high.
Request
Input
POST /v1/drawdowns{ "symbol": "QQQ", "limit": 5, "min_depth": 0.1 }
Live output billed to your account
Response
Output 200 OK
{ "ok": true, "data": { "symbol": "QQQ", "start": "1999-03-10", "end": "2026-11-12", "current_drawdown": -0.095148, "all_time_high": 759.66, "all_time_high_date": "2026-10-06", "min_depth": 0.1, "episodes_total": 208, "episodes_count": 22, "deepest": [ { "peak_date": "2000-03-24", "peak": 99.49, "trough_date": "2002-10-09", "trough": 16.93, "depth": -0.829832, "recovery_date": "2015-02-23", "bars_to_trough": 637, "bars_to_recover": 3113, "total_bars": 3750, "recovered": true }, { "peak_date": "2021-12-27", "peak": 392.51, "trough_date": "2022-11-03", "trough": 254.66, "depth": -0.351201, "recovery_date": "2023-12-13", "bars_to_trough": 216, "bars_to_recover": 278, "total_bars": 494, "recovered": true }, { "peak_date": "2020-02-19", "peak": 227.79, "trough_date": "2020-03-16", "trough": 162.73, "depth": -0.285614, "recovery_date": "2020-06-03", "bars_to_trough": 18, "bars_to_recover": 55, "total_bars": 73, "recovered": true }, { "peak_date": "2018-08-29", "peak": 177.21, "trough_date": "2018-12-24", "trough": 136.81, "depth": -0.227978, "recovery_date": "2019-04-12", "bars_to_trough": 80, "bars_to_recover": 75, "total_bars": 155, "recovered": true }, { "peak_date": "2025-02-19", "peak": 535.54, "trough_date": "2025-04-08", "trough": 413.61, "depth": -0.227677, "recovery_date": "2025-06-24", "bars_to_trough": 34, "bars_to_recover": 52, "total_bars": 86, "recovered": true } ], "time_in_drawdown_pct": 0.931648, "interval": "1day" }, "meta": { "op": "drawdowns", "units": 2, "cost_usd": 0.0, "billing": "internal", "free_call": false, "free_calls_left": 0, "balance_usd": 5.0, "ms": 7, "interval": "1day", "data_as_of": "2026-11-12", "partial_last_bar": false } }
How to read it
depth is the peak-to-trough fall. bars_to_trough and bars_to_recover are trading days; recovered is false for a drawdown still under way. current_drawdown and time_in_drawdown_pct put today in context.
Parameters and limits: Drawdowns reference. Analytics, not advice.