Buzzr Sports Engine API
    Preparing search index...

    Function calculateDrawdown

    • Maximum drawdown over the chronological cumulative net-units curve. Each settled bet contributes returned - stake, matching the netUnits semantics of calculateBetRollup. Pending, draft, and canceled bets are excluded. The curve starts at 0, so peakUnits >= 0 and troughUnits <= 0.

      Parameters

      Returns DrawdownResult