getPositionMaxDrawdownMinutes

declare function getPositionMaxDrawdownMinutes(symbol: string): Promise<number>;

Returns the number of minutes elapsed since the worst loss price was recorded.

Measures how long ago the deepest drawdown point occurred. Zero when called at the exact moment the trough was set.

Throws if no pending signal exists.

Parameter Description
symbol Trading pair symbol