Change position
Subscribe / Unsubscribe
Subscribe / Unsubscribe
{
"method": "SUBSCRIBE/UNSUBSCRIBE",
"params": ["position@{ListenKey}"],
"id": "{id}"
}
Response example
Response example
{
"topic": "position",
"event": "position@123456",
"data": {
"symbol": "btc_usdt", // symbol
"contractType": "PERPUTUAL", // PERPUTUAL (perpetual), DELIVERY (delivery)
"positionType": "ISOLATED", // ISOLATED (isolated), CROSSED (cross)
"positionSide": "LONG",
"positionSize": "123", // position size
"closeOrderSize": "100", // open order size (contracts)
"availableCloseSize": "23", // available size (contracts)
"realizedProfit": "123", // realized PnL
"entryPrice": "213", // avg entry price
"isolatedMargin": "213", // isolated margin
"openOrderMarginFrozen": "123", // frozen margin for open orders
"underlyingType": "", // COIN_BASED (coin‑margined), U_BASED (USDT‑margined)
"leverage": 20 // leverage
}
}