In the event that a user’s Account Margin Rate falls below the Maintenance Margin Rate, an account will begin the process of auto-liquidation. The liquidation engine on BitMax.io Futures will take the following actions:
- Prepare Account for Liquidation
- Reduce Account Positions via Smart Order Routing
- (if necessary) Sell Account’s Positions to Backstop Liquidity Providers (“BLPs”)
- (if necessary) Sell Account’s Positions to users with top-10 largest opposing positions (“Auto-deleveraging”)
- Relinquish Account Control back to User
Details of each of the above actions are outlined below.
Stage 1: Prepare Account for Liquidation
- All open orders held are canceled
- All withdrawals and trading are disabled
- Auto-roll from Unrealized PnL to Realized PnL is halted
- All non-USDT collateral is converted to USDT using the Collateral Discount Factor
Stage 2: Reduce Account Positions
- Volume-limited orders to liquidate contracts are submitted to reduce the account’s position exposure.
- If the Account Margin Rate does not exceed the Maintenance Margin Rate after the maximum number of liquidation attempts (roughly 50 rounds of orders), the account will be taken over (Stage 3).
- If the Account Margin Rate exceeds the Initial Margin Rate at any point in the position reduction process, contract liquidation is halted, and the liquidation engine relinquishes control of the account back to the user (Stage 4).
- If the Account Margin Rate falls below the Takeover Margin Rate at any point in the position reduction process, the account will be taken over (Stage 3).
- The velocity of the position reduction process, as well as the size of each block of liquidation orders, are designed to minimize market impact and therefore mitigate risk associated with price capitulation caused by the liquidation (i.e., “slippage” induced by the liquidation orders).
Stage 3: Takeover Account
- 100% of the account’s positions are taken over by BitMax.io Futures. The price at which each contract is taken over is the Zero Price, or the price that would set Account Value to $0. This is sometimes referred to as “bankruptcy price.”
BitMax.io Futures will sell the account’s positions to Backstop Liquidity Providers (“BLPs”) in accordance with their per-minute and per-hour capacity. For further information, please see the Backstop Liquidity Provider section .
- If the capacity of the BLPs is insufficient , the remaining contracts will be given to accounts with the top-10 largest opposing positions, in proportion to their position size. This process is referred to as “auto-deleveraging.”
- Each contract that is sold to BLPs or given to accounts via auto-deleveraging is priced via the Takeover Price.
- In the event an account is taken over and its account value > $0, BLPs and the Insurance Fund will share the account’s positive balance based on the BLPs’ “Takeover Balance Share Ratio.”
- In the event an account is taken over and its account value < $0, BLPs and the Insurance fund will cover the account’s negative balance based on the BLPs’ “Worst Price Deviation.”
- In the event an account is taken over and its account value < $0, and the Insurance Fund is empty, the platform will exercise clawbacks as a means to socialize platform losses. Clawbacks will only draw from accounts with positive unrealized PnL.
Stage 4: Complete Account Liquidation
- Withdrawals and trading reenabled
- Auto-roll from unrealized PnL to realized PnL is resumed
See the below flowchart illustrating the account liquidation process: