Skip to main content

Get Current Position

Description

Get information about your current position.

HTTP Request

GET /v3/trade/position/opens

Request Parameters

ParameterRequiredTypeDescription
symbolNoStringTrading pair; if the field is empty, you will get the information about all of your current positions.

Response Parameters

ParameterTypeDescription
symbolStringA trading pair
posSideStringBoth sides
sideStringEnumerate: BUY, SELL
mgnModeStringMargin Mode, Enumerate: ISOLATED, CROSS
ctTypeStringFutures Type: Linear and inverse
openAvgPxStringAverage entry price
qtyStringConts of positions (Position size after execution)
availQtyStringConts available to close
leverStringLeverage, from 1 to 75.
feeStringPosition closing fee
adlStringADL (Auto-Deleveraging)
liqPxStringEst. liquidation price
imStringInitial margin
mmStringMaintenance margin
mgnStringIsolated position margin
uplStringUnrealized PnL (calculated based on mark price)
uplRatioStringUnrealized PnL% (calculated based on mark price)
pnlStringRealized PnL
markPxStringMark price
lastPxStringLast price
mgnRatioStringMargin rate
stateStringPosition Status: NORMAL, LIQ, and ADL
cTimeStringCreation time
uTimeStringUpdate time

Request Example

{
"symbol":"BTC_USDT_PERP"
}

Response Example

{
"code": 200,
"data": [
{
"adl": "0.1666",
"availQty": "1",
"cTime": "1719894977164",
"im": "1.955006333333333333",
"lever": "30",
"liqPx": "0",
"markPx": "58650.19",
"mgn": "1.955006333333333333",
"mgnMode": "CROSS",
"mgnRatio": "0",
"mm": "0.322576045",
"openAvgPx": "58651",
"pnl": "0",
"posSide": "BOTH",
"qty": "1",
"side": "BUY",
"state": "NORMAL",
"symbol": "BTC_USDT_PERP",
"uTime": "1719974554434",
"upl": "-0.00081",
"uplRatio": "-0.0004"
}
],
"msg": "Success"
}