Calculators

Liquidation price

Compute the liquidation price for a leveraged position.

get/api/v1/calc/liquidation

Request

  • Base URL: https://marginpad.io
  • URL: https://marginpad.io/api/v1/calc/liquidation
  • Auth: none declared

Query parameters

entrystring required

Entry price.

leveragestring required

Leverage, e.g. 10.

sidestring

long or short.

mmrstring

Maintenance margin rate in percent (default 0.5).

Response

ok

Changes

No recorded changes to this operation across all 1 revision of this API.