All orders have a bankruptcy price in addition to the liquidation price. When the market price reaches the bankruptcy price, it indicates that the margin of the position is equal to zero. If the final execution price of the position is higher than the bankruptcy price, the balance remaining after the liquidation is added to the insurance fund. Conversely, if the final execution price is worse than the bankruptcy price, contract loss will occur and will be covered by the insurance fund.

### Isolated Margin Bankruptcy Price (Long)

$$ \small\textsf{Isolated Margin Bankruptcy Price (Long)} = {{\textsf{Avg. Entry Price} \times \textsf{Leverage}} \over \textsf{Leverage + 1}} $$

### Isolated Margin Bankruptcy Price (Short)

$$ \small\textsf{Isolated Margin Bankruptcy Price (Short)} = {{\textsf{Avg. Entry Price} \times \textsf{Leverage}} \over \textsf{Leverage - 1}} $$

### Cross Margin Bankruptcy Price (Long)

\begin{align}\small\textsf{Cross Margin Bankruptcy Price (Long)} = {\textsf{1.00075}\times\textsf{Quantity}\over{{\textsf{Quantity}\over\textsf{Avg. Entry Price}}+ \textsf{Available Balance}}}\end{align}

### Cross Margin Bankruptcy Price (Short)

$$ {\small \textsf{Cross Margin Bankruptcy Price (Short)} = {0.99925\times\textsf{Quantity}\over{{\textsf{Quantity}\over\textsf{Avg. Entry Price}} - \textsf{Available Balance}}}} $$

## Comments

0 comments

Please sign in to leave a comment.