Topics
    Liquidation Price Calculation under Isolated Mode (Unified Trading Account)
    bybit2024-11-07 12:09:27

    Bybit now supports the Isolated Margin mode on the Unified Trading Account, alongside the existing Cross Margin and Portfolio Margin modes. The Isolated Margin mode depicts the margin placed into a position isolated from the trader's account balance. This mode allows traders to manage their risks accordingly as the maximum amount a trader would lose from liquidation is limited to the position margin placed for that open position.

     

    When the Mark Price reaches the liquidation price, the position will be settled at the bankruptcy price, corresponding to the 0% margin price level. Additionally, this occurrence signifies that the position margin balance has fallen below the necessary maintenance margin level. For more information on how to check the mark price, please refer here.

     

    Below is the liquidation price calculation for the USDT Perpetual, USDC Perpetual & Futures, and Inverse Perpetual & Futures Contracts under the Isolated Margin mode on Unified Trading Account.






    Inverse Perpetual & Futures Contract

     

    Formulas

    For Buy/Long:

    Liquidation Price (Long) = Contract Quantity / [Position Value + (Initial Margin - Maintenance Margin )]



    For Sell/Short:

    Liquidation Price (Short) =  Contract Quantity / [Position Value - (Initial Margin - Maintenance Margin )]

     

    Whereas,

    Position Value  = Contract Quantity / Average Entry Price

    Initial Margin = Position Value / Leverage

    Maintenance Margin = (Position Value x MMR) - Maintenance Margin Deduction

     

    Notes:

    — The Maintenance Margin Rate (MMR) is based on the risk limit tier. For more details please refer to Maintenance Margin (Inverse Contracts).

    — Minor differences from the actual liquidation price may arise due to the fees to close the position(s).

     

     

     

    Example

    Trader B placed a long entry of 60,000 USD of BTCUSD short position at 50,000 USD with 10x leverage. Assuming the Maintenance Margin Rate (MMR) is 0.5% and no extra margin is added:

     

    Position Value = 60,000 / 50,000 = 1.2 BTC

    Initial Margin = 1.2 / 10 = 0.12 BTC

    Maintenance Margin = 1.2 x 0.5% - 0 = 0.006 BTC

    Liquidation Price (LP) = 60,000 / [1.2-(0.12-0.006)] = 55,248.61 USD






     

     

     

    USDT Perpetual Contract

     

    Formulas

    For Buy/Long:

    Liquidation Price (Long) = Entry Price - [(Initial Margin - Maintenance Margin)/Contract Quantity] - (Extra Margin Added/Contract Quantity)



    For Sell/Short:

    Liquidation Price (Short) = Entry Price + [(Initial Margin - Maintenance Margin)/Contract Quantity] + (Extra Margin Added/Contract Quantity)

     

    Whereas,

    Position Value  = Contract Quantity x Average Entry Price

    Initial Margin = Position Value / Leverage

    Maintenance Margin = (Position Value x MMR) - Maintenance Margin Deduction

     

     

    Notes:

    The Maintenance Margin Rate (MMR) is based on the risk limit tier. For more details please refer to Maintenance Margin (USDT Contract).

    — Minor differences from the actual liquidation price may arise due to the fees to close the position(s).

     

     

     

    Example

    Trader A initially placed a long entry of 1 BTC at 40,000 USDT with 50x leverage. Subsequently, he manually added 3,000 USDT more to his position margin. The new Liquidation Price after the margin is added will be calculated as follows: 

     

    Initial Margin = 1 × 40,000 USDT / 50 = 800 USDT

    MMR = 0.5%

    Maintenance Margin = 1 × 40,000 x 0.5% - 0 = 200 USDT

     

    LP = [40,000 - (800 - 200)] - (3000/1) = 36,400 USDT

     

     

     

     

     

     

     

     

    USDC Perpetual & Futures Contract

     

    Formulas

    For Buy/Long:

    Liquidation Price (LP) = Position Entry Price + [(Initial Margin + Extra Margin Added - Maintenance Margin)/Position Size]

     

     

    For Sell/Short:

    Liquidation Price (LP) = Position Entry Price - [(Initial Margin + Extra Margin Added - Maintenance Margin)/Position Size]

     

    Whereas,

    Position Value  = Contract Quantity x Average Entry Price

    Initial Margin = Position Value / Leverage

    Maintenance Margin = (Position Value x MMR) - Maintenance Margin Deduction



    Notes:

    The Maintenance Margin Rate (MMR) is based on the risk limit tier. For more details please refer to Maintenance Margin (USDC Contract).

    — Minor differences from the actual liquidation price may arise due to the fees to close the position(s).

     



    The liquidation price calculation for the USDC Perpetual & Futures contract under the Unified Trading Account isolated margin mode is similar to USDT Perpetual’s. However, please note that there is an 8-Hour Session Settlement Mechanism for USDC Perpetual & futures contracts in which the average entry price will be updated to the Mark Price at the time of settlement. 

     

    Following an 8-hour session settlement, the average entry price will be updated. This new price will be used to recalculate both the fee to close and the maintenance margin. However, under USDC Perpetual & Futures isolated margin mode, the initial margin displayed in the position tab will remain unchanged. Any difference between the old and new fee to close, as well as any session, realized profit & loss (P&L), will be added to the initial margin.

     

     

     

    Example

    Trader B has opened a 1 BTC-Perp short position with an entry price of $10,000 and 10x leverage. Assuming the maintenance margin rate is 0.4%. The liquidation price is calculated as follows:

     

    Fee to Close = Position Value x (1+1/Leverage) x 0.06%

    = (10,000 x 1) x (1 +1/10) x 0.06% = 6.6 USDC

    Initial Margin = Position Value x (1/Leverage) + fee to Close

    = (10,000 x 1) x (1/10) + 6.6 = 1006.6 USDC

    Maintenance Margin = 10,000 x 0.4% + 6.6 = 46.6 USDC

    Liquidation Price = 10,000 + [(1006.6 - 46.6)/1] = $10,960



    At 4 PM UTC settlement time, the mark price at settlement time is $9,900 and the realized P&L for the current settlement cycle is 100 USDC [($10,000 - $9,900) x 1]. 

     

    During this time, the new average entry price will be updated to $9,900 and used to calculate the new fee to close and maintenance margin. However, the initial margin needed is still calculated using the initial position entry price of $10,000.

     

    The liquidation price as of 4 PM UTC is calculated as follows:

    Fee to Close = New Position Value x (1+1/Leverage) x 0.06% 

    = (9,900 x 1) x (1 +1/10) x 0.06% = 6.534 USDC

    Initial Margin = Initial Position Value x (1/Leverage) + New Fee to Close

    = 10,000 x (1/10) + 6.534 = 1,006.534 USDC

    Maintenance Margin = 9,900 x 0.4% + 6.534 = 46.134 USDC

    Liquidation Price = 9,900 + [(1006.534 + 100 - 46.134)/1] = $10,960.4

     

     

    To learn more about the liquidation process under each position mode in Unified Trading, please refer to Trading Rules: Liquidation Process (Unified Trading Account).

    Was it helpful?
    yesYesyesNo