Catalog/trade-drawdown-recovery

Calculators

Drawdown recovery gain API

Required gain to recover a drawdown: requiredGain = d/(1−d) — a 50% loss needs a 100% gain. Deterministic, the asymmetry LLMs misjudge. Answers 'what gain to recover a 30% drawdown','how much to make back after a 50% loss','recovery multiplier for my drawdown'.

Price$0.01per request
MethodPOST
Route/v1/calc/trade-drawdown-recovery
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calctradingdrawdownrecoveryriskequity-curvelossmoney-management
API URLhttps://x402.hexl.dev/v1/calc/trade-drawdown-recovery
Integration docs
Example request
{
  "drawdownPct": 50
}
Example response
{
  "drawdownPct": 50,
  "requiredGainPct": 100,
  "recoveryMultiplier": 2,
  "formula": "requiredGain = d / (1 − d)"
}
Input schema
{
  "type": "object",
  "required": [
    "drawdownPct"
  ],
  "properties": {
    "drawdownPct": {
      "type": "number",
      "description": "Drawdown as percent in (0,100).",
      "examples": [
        50
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}