Skip to main content

Message

Subscribe / Unsubscribe

Subscribe / Unsubscribe
{
"method": "SUBSCRIBE/UNSUBSCRIBE",
"params": ["notify@{listenKey}"],
"id": "{id}"
}

Response example

Response example
{
"topic": "notify",
"event": "notify",
"data": {
"symbol": "btc_usdt",
"positionType": "ISOLATED",
"positionSide": "LONG",
"positionSize": "123", // position size
"notifyType": "WARN" // WARN (warning, about to be liquidated), PARTIAL (partial liquidation), LIQUIDATION (forced liquidation), ADL (auto‑deleveraging)
}
}