Skip to main content

Position

symbolstring

Market symbol

sidestring

Trade side

sizeint64

Position size

entryPricenumber

Entry price

markPricenumber

Mark price

marginTypeinteger

91: Cross · 92: Isolated

orderValuenumber

Notional value

settleWithAssetstring

Settlement currency

totalMaintenanceMarginnumber

Maintenance margin

unrealizedProfitLossnumber

Unrealized P&L

liquidationPricenumber

Liquidation price

isolatedLeveragenumber

Isolated leverage

adlScoreBucketnumber

ADL probability score

liquidationInProgressboolean

Whether liquidation is in progress

currentLeveragenumber

Current leverage

timestampint64

Query timestamp

takeProfitOrderobject

Take profit order info

stopLossOrderobject

Stop loss order info

positionModestring

ONE_WAY · HEDGE · ISOLATED

positionDirectionstring

Position direction: LONG · SHORT (only present in HEDGE/ISOLATED mode)

positionIdstring

Position ID

Position
{
"symbol": "string",
"side": "string",
"size": 0,
"entryPrice": 0,
"markPrice": 0,
"marginType": 0,
"orderValue": 0,
"settleWithAsset": "string",
"totalMaintenanceMargin": 0,
"unrealizedProfitLoss": 0,
"liquidationPrice": 0,
"isolatedLeverage": 0,
"adlScoreBucket": 0,
"liquidationInProgress": true,
"currentLeverage": 0,
"timestamp": 0,
"takeProfitOrder": {},
"stopLossOrder": {},
"positionMode": "string",
"positionDirection": "string",
"positionId": "string"
}