API Reference

Query Position

Query all positions.

⏳ Limit

150 requests per minute.


🛠️ Parameters

FieldTypeMandatoryDescription
symbolStringNThe trading pair or asset symbol.


📬 Response

FieldTypeDescription
positionIdStringPosition ID
accountIdStringAccount ID
symbolStringThe trading pair or asset symbol.
positionSideStringOne-way mode:NONE
Hedged position side:LONG,SHORT
positionMarginStringPosition margin
positionMMStringPosition Maintenance Margin, the minimum margin required to maintain the current position; falling below this amount may trigger liquidation.
positionQtyStringThe size of the current position in number of coins (Positive means Long, Negative means Short positions).
positionValueStringThe total value of the current position, calculated as position quantity multiplied by the current price.
unrealizedPnlStringThe unrealized profit and loss on open positions involving the asset.
unrealizedPnlRateStringThe percentage of unrealized profit or loss relative to the initial margin or position value, used to assess the profitability of the position.
avgPriceStringThe average price at which the current position was established; the average entry price.
markPriceStringMark price
leverageStringLeverage
maxLeverageStringMax leverage
feeStringThe trading fee incurred for the executed trades.
fundingFeeStringFunding fee
createTimeStringThe timestamp when this portfolio record was created (in milliseconds).
updateTimeStringThe timestamp when this portfolio record was last updated (in milliseconds).
liqPriceStringThe price at which the position will be forcibly closed (liquidated) if the market price reaches it.
Language