Multi-position liquidation price calculation

Multi-position liquidation price calculation:

  • otUPNL: Total unrealized gain or loss of other contracts:

Variables:

Example:

The liquidation price of the ETH contracts is:

The liquidation price of the BTC contracts is:

Last updated