Below is the liquidation price formula for COIN-M Futures contract
where
WB | Wallet Balance |
TMM1 | Maintenance Margin of all other contracts, excluding Contract 1 If it is an isolated margin mode, then TMM=0,UPNL=0 |
UPNL1 | Unrealized PNL of all other contracts, excluding Contract 1 If it is an isolated margin mode, then UPNL=0 |
cumB | Maintenance Amount of BOTH position (one-way mode) |
cumL | Maintenance amount of LONG position (hedge mode) |
cumS | Maintenance amount of SHORT position (hedge mode) |
SideBOTH | Direction of BOTH position, 1 as long position, -1 as short position |
B | Absolute value of BOTH position size (one-way mode) |
EPB | Entry Price of BOTH position (one-way mode) |
L | Absolute value of LONG position size (hedge mode) |
EPL | Entry Price of LONG position (hedge mode) |
S | Absolute value of SHORT position size (hedge mode) |
EPS | Entry Price of SHORT position (hedge mode) |
MMR B | Maintenance margin rate of BOTH position (one-way mode) |
MMR L | Maintenance margin rate of LONG position (hedge mode) |
MMR S | Maintenance margin rate of SHORT position (hedge mode) |
Notes:
- In Cross margin mode, WB is crossWalletBalance
- In Isolated margin mode, WB is isolatedWalletBalance of the isolated position, TMM=0, UPNL=0, substitute the position quantity, MMR, cum into the formula to calculate.
- Under cross margin, same ticker/symbol, both long and short position share the same liquidation price except isolated mode. In isolated mode, each isolated position will have different liquidation prices depending on the margin allocated to the positions.
- If the liquidation price is less than 0, the UI display would be “--”
Maintenance Margin Rate
You can find the “Maintenance Margin Rate” from Leverage and Margin in Coin-Margined Futures Contracts
For example, if the position of the BTCUSD contract is 300 BTC, then the maintenance margin rate would be 12.5%
Note:
If your position (calculated at the liquidation price) and the current position (calculated at the opening price) are of different levels, then you must substitute (i.e. to calculate at the liquidation price) the maintenance margin rate and the maintenance margin amount of the position level, to recalculate the liquidation price.
Maintenance Amount
You can find the “Maintenance Amount” from the table below with the position value. For example, if the position of BTCUSD Contract is 300BTC, then the maintenance amount would be 11.81 BTC.
Maintenance Amount formula
= [ Floor of Position Bracket on Level n * difference between Maintenance Margin Rate on Level n and Maintenance Margin Rate on Level n-1) ] + Maintenance Amount on Level n-1
For example, the BTCUSD Maintenance Amount on Level 5
= 50 BTC * (5% -2.5%) + 0.56 BTC
= 1.81 BTC
BTCUSD Coin-Margined Contracts | |||
Level | BTCUSD Position (Notional Value in BTC) | Maintenance Margin Rate | Maintenance Amount (BTC) |
1 | 0 - 10 | 0.4% | 0 |
2 | 10 - 20 | 0.5% | 0.01 |
3 | 20 - 30 | 1.0% | 0.11 |
4 | 30 - 50 | 2.5% | 0.56 |
5 | 50 - 100 | 5.0% | 1.81 |
6 | 100 - 200 | 10.0% | 6.81 |
7 | 200 - 400 | 12.5% | 11.81 |
8 | 400 - 1,000 | 15.0% | 21.81 |
9 | Above 1,000 | 25.0% | 121.81 |
ETHUSD Coin-Margined Contracts | |||
Level | ETHUSD Position (Notional Value in ETH) | Maintenance Margin Rate | Maintenance Amount (ETH) |
1 | 0 - 100 | 0.50% | 0 |
2 | 100 - 500 | 0.65% | 0.15 |
3 | 500 - 1,000 | 1.00% | 1.9 |
4 | 1,000 - 2,000 | 2.50% | 16.9 |
5 | 2,000 - 4,000 | 5.00% | 66.9 |
6 | 4,000 - 6,000 | 10.00% | 266.9 |
7 | 6,000 - 8,000 | 12.50% | 416.9 |
8 | 8000 - 10,000 | 15.00% | 616.9 |
9 | Above 10,000 | 25.00% | 1616.9 |