- Maintenance margin = Entry Price * Amount * maintenance margin rate
- Isolated Position Margin = Entry Price * Amount / Leverage
- Long Position Unrealized PnL = ( Mark Price - Entry Price)* Amount
Therefore,
Maintenance margin =1500 * 10 * 1%= 150 USDT
Isolated Position Margin =1500 * 10 / 50= 300 USDT
Long Position Unrealized PnL=(1483 - 1500) * 10= -170 USDT
Margin ratio (Isolated)=[150/(300-170)]*100%=115.38%
Eve‘s ETH/USDT long position will be liquidated when the mark price reaches 1483 USDT
Example for liquidation in the cross margin mode:
Assume Tom has 350 USDT in his futures account, opened a short position of 20 amount ETH/USDT at the price of 1600 USDT. The leverage is 100x, so the maintenance margin rate is 0.50%. Without considering the fee, what will happen to Eve’s position when the mark price of ETH/USDT swaps reaches 1596 USDT?
Formula:
Margin ratio (Cross) = Maintenance margin/(Wallet Balance -ΣIsolated Position Margin + Cross Unrealized PnL)
- Maintenance margin = Entry Price * Amount / Leverage
- Short Position Unrealized PnL = (Entry Price - Mark Price)* Amount
Therefore;
Maintenance margin=1600*20/100=320 USDT
Short Position Unrealized PnL=(1600-1596)*20=-80 USDT
Margin ratio (Cross)=[320/(350-80)]*100%=118.5%
Tom‘s ETH/USDT short position will be liquidated when the mark price reaches 1496 USDT