Available Balance = Balance +Current-period Realized PnL of All Contracts
+ Current-period Unrealized PnL of All Contracts
Unrealized PNL is the profit or loss of users’ current positions and would change with the last price.
Unrealized PNL is the profit and loss incurred from users’ all existing positions of all USDT-margined swaps and USDT-margined futures in the cross margin mode.
Unrealized PNL(Long)= (Mark Price-Entry Price)*Size
Unrealized PNL(Short)=(Entry Price-Mark Price)*Size
Realized PNL refers to the profit or loss of a closed position, which includes the transaction fees, funding paid or received by users. Realized PnL cannot be transferred out from USDT-margined contract account before settlement.
Realized PNL= （Close Price - Entry Price）*Size
Position price is a price used to calculate users’ unrealized PnL and the closing PnL. This price will be adjusted upon each settlement or position increases, while the change of position price will not affect the user’s actual PnL. When closing a position, the cost will be calculated by using the moving average method. That is to say, the system will not distinguish with which position or at which open price is used to close, it will use the position price as the cost price to calculate PnL instead.