Keywords: Account Equity, Realized P&L, Unrealized P&L, Position Margin, Used Margin, Available Margin, Frozen Margin
Last modified: 2020-06-06 (UTC+8)
1. Balance
Balance = Deposit - Withdrawal + Realized P&L - Funding Rate - Service Fee
Which is, the actual remaining total assets of the contract account
2. Account equity
Account equity = Balance + Unrealized P&L
3. Realized P&L
The realized P&L is the profit or loss of a closed position, which includes the transaction fees, and funding paid or received by users.
4. Unrealized P&L
Unrealized P&L is the profit and loss generated by the user's current position, also known as floating profit and loss.
5. Position Margin
Position Margin = Initial Margin + Unrealized P&L + Adjusted Margin during the position
6. Used Margin
Used Margin = Σ Margin for all positions
7. Available Margin
Available Margin = Account Equity - Used Margin - Frozen Margin
8. Frozen Margin
Frozen Margin = Σ(Order Amount / Leverage) + Taker Fee
9. Margin Level
Initial Margin = Position Amount / Leverage
Cross Margin: Margin Rate = (Available Balance + Fixed Margin + Unrealized P&L) / Position Amount
Isolated Margin: Margin Rate = (Fixed Margin + Unrealized P&L) / Position Amount
When the Margin Rate <= Maintenance Margin Rate + Taker Fee Rate, Forced Liquidation will occur.
It is strongly recommended that traders close their positions above the maintenance margin to avoid higher fees from auto-liquidations.
(During the open beta period, the maintenance margin rate is 0.5%, and it will be adjusted in steps in the future.)