Current Positions
The futureTradingPositions topic pushes updates when a futures position’s quantity, profit and loss, or margin changes.
Push Fields
| Field | Type | Description |
|---|---|---|
category | string | spot / linear |
symbol | string | contract/trading pair name (e.g., BTCUSDT, ETHUSDT) |
side | string | position direction: LONG = long, SHORT = short |
isAvailable | boolean | availability status: true = normally held, false = frozen/liquidated |
leverage | string | Leverage (stored as 100x multiplier. E.g., 1000 represents 10x leverage, restored by dividing by 100 upon reading) |
accountMode | string | account mode: CROSS = cross margin, ISOLATED = isolated margin |
qty | string | Position size (e.g., 1.5 represents 1.5 BTC) |
positionStatus | string | Position status: normal = normally held, inactive = unavailable (e.g., during liquidation). |
bv2c | string | Long value (stored amplified by 1e8. Divided by 1e8 when read to restore) |
sv2c | string | Short position value (stored amplified by 1e8. Divided by 1e8 when read to restore original value) |
adlRankIndicator | integer | ADL ranking identifier (auto-reduction ranking, 0-5 levels, level 5 is highest risk and prioritized for reduction) |
mmRate | string | Maintenance margin ratio (MMR), stored as 1e4 times (e.g., 100 represents 1%), restored by dividing by 1e4 upon reading |
cumulativeRealisedPnl | string | Cumulative realized PnL (total historical PnL of the position, positive for profit, negative for loss) |
updatedTime | Long | Update timestamp (in milliseconds, UTC+8, updated upon position status change) |
positionBalance | string | Isolated margin balance (scaled by 1e8, valid only in isolated margin mode) |
positionMargin | string | Position margin (stored as 1e8 times the value, equals initial margin + maintenance margin) |
tpslMode | string | TP/SL Mode: FULL = Take-Profit and Stop-Loss mode, PARTIAL = Partial Take-Profit and Stop-Loss mode |
triggerMmRate | string | Trigger margin rate threshold (stored as 100x multiplier. E.g., 100 represents 1%, restored by dividing by 100 upon reading) |
tpTriggerBy | string | Take-profit trigger sources: MARK_PRICE = mark price, INDEX_PRICE = index price, LAST_PRICE = last trade price |
slTriggerBy | string | Stop-loss trigger source: MARK_PRICE = mark price, INDEX_PRICE = index price, LAST_PRICE = latest trade price |
takeProfit | string | Take-profit price (triggered take-profit liquidation when reached) |
stopLoss | string | Stop-loss price (triggered stop-loss liquidation when reached) |
tpOrderNum | string | Take-profit order quantity (number of take-profit liquidation orders placed) |
slOrderNum | string | Stop-loss order quantity (number of stop-loss liquidation orders placed) |
tpFreeSize | string | Stop-loss available amount (maximum number of stop-loss orders that can be placed) |
slFreeSize | string | Take-profit available amount (maximum number of take-profit orders that can be placed) |
markPrice | string | Mark price (used for calculating unrealized PnL and liquidation price) |
liquidationPrice | string | Liquidation price (forced liquidation when reached) |
bustPrice | string | circuit breaker price (the forced liquidation price under extreme market conditions, below the liquidation price) |
entryPrice | string | Entry price (stored amplified by 1e8. Divided by 1e8 when read to restore original value) |
value | string | Position value (stored scaled by 1e8, = position size × mark price) |
reduceOnly | boolean | reduce-only: true = only close position, false = can open/close |
positionIm | string | initial margin for position (IM, margin frozen upon opening) |
positionMm | string | maintenance margin for position (MM, minimum margin required to hold position) |
positionImUsd | string | initial position margin (USD-denominated, for cross-currency uniform calculation) |
positionMmUsd | string | maintenance margin of position (USD-denominated) |
positionUpl | string | Unrealized profit and loss (UPL, floating profit/loss of open positions) |
positionRpl | string | realized PnL for position (RPL, profit/loss confirmed upon closing) |
positionUplUsd | string | unrealized profit and loss of position (USD-denominated) |
positionRplUsd | string | realized profit and loss of position (USD-denominated) |
baseCoin | string | Base asset (e.g. BTC, ETH, the underlying asset of the position) |
positionBalanceUsd | string | Position margin balance (in USD, only available in isolated margin mode) |
lastPrice | string | Latest price (latest market execution price) |
indexPrice | string | Index price (average price across multiple exchanges to prevent price manipulation) |
positionMode | integer | Position mode: 0 = single position, 3 = both-side position |