-
Account available balance
Calculation of available balance for USDT-margined futures are as follows:
Available balance = Account balance + Current realized PnL from all contract types + Current unrealized PnL from all contract types
-
Unrealized PnL
Unrealized PnL represents the current profit or loss of open positions and updates in real time based on the latest mark price.
In cross margin mode, unrealized PnL is the aggregate unrealized PnL across all USDT-margined futures positions in the account.
Unrealized PnL (long) = (Mark price - Average open price) * Position size
Unrealized PnL (short) = (Average open price - Mark price) * Position size
-
Realized PnL
Realized PnL includes profits and losses from closed positions, trading fees, and funding fees paid or received during the settlement cycle.
Note: Realized PnL cannot be transferred out of the USDT-margined futures account until the current settlement cycle is completed.
Formula:Realized PnL = (Fill price − Average open price) * Filled size
-
Average position price
The average position price is the reference price used to calculate unrealized PnL and closed PnL.
Adjustment mechanism: This price is updated whenever a contract is settled or the position is added. Changes to the average position price do not affect actual profits.
Settlement logic: The system uses a moving average method to calculate position cost. When closing a position, individual open prices are not tracked. Instead, all PnL is calculated based on the average position price.