Keywords: Account Equity, Realized PnL, Unrealized PnL, Position Margin, Used Margin, Available Margin, Frozen Margin
Last modified: 2020-06-06 (UTC+8)
Balance = Deposit - Withdrawal + Realized PnL - Funding Rate - Service Fee
Which is, the actual remaining total assets of the contract account
2. Account equity
Account equity = Balance + Unrealized PnL
3. Realized PnL
The realized PnL is the profit or loss of a closed position, which includes the transaction fees, and funding paid or received by users.
4. Unrealized PnL
Unrealized PnL 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 PnL + 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 PnL) / Position Amount
Isolated Margin: Margin Rate = (Fixed Margin + Unrealized PnL) / 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.)