๐Ÿฆ‘Liquidation and Margin Details

This section deals with how the Liquidation price of a position is calculated with an example.

Liquidation on the ZKX exchange is an automated mechanism that ensures the financial stability and integrity of the platform by preventing excessive losses that could affect the overall liquidity of the platform. It occurs when a trader's margin balance is insufficient to support their leveraged positions.

When a trader engages in leveraged trading on the ZKX exchange, they are essentially borrowing funds to increase the size of their position. This practice can amplify profits but also magnify potential losses. To manage this risk, ZKX requires traders to maintain:

  1. A minimum margin balance, known as the Initial Margin(IM), IM is determined by the size of the position, its opening price, and the leverage used. (Check tables below.)

  2. ZKX has set a Maintenance Margin Fraction (MMF) that defines the percentage of the position's value needed to keep it open. It's the threshold below which the trader's position becomes at risk of liquidation. Currently, it is set at a constant value for each market 0.075 %. Refer to the section MMF in the table below.

  3. If market volatility causes the value of the Open position to drop, the exchange triggers a liquidation process to close the position and protect the system from further losses.

  4. Mark Price is used in calculating liquidations. Also, we use Mark Price for any conditional order execution/trigger. We model Mark Price as fair and tamper-resistant. For more information check the Pricing section in docs.

  5. The liquidation process takes into account the unrealized profit and loss (UPnL) of a position, the current leverage, and position size to arrive at the liquidation price โ€” the specific price level at which liquidation is triggered. This price is calculated based on the initial margin, the maintenance margin requirements, UPnL, and the direction of the trade (long or short). Check the liquidation price formula and illustration in the table.

  6. The goal of ZKXโ€™s liquidation policy is to maintain market stability and ensure traders can manage risk effectively. So we share some portion of this liquidation revenue with token stakers and the rest is transferred to our Insurance fund to manage and mitigate risk.

For further information and calculations, refer to the tables given below.

This section illustrates the entirety of the process of Liquidation with examples.

Details of Constant factors with example:

Details of Positions with example:

Account Information

Buy Info

Last updated