strategy.max_drawdown

Largest drop of closed-trade equity from a peak, in dollars.

strategy.max_drawdown() -> float

Example

dd = strategy.max_drawdown