Subscriptions

Isolated Trades

Inverse futures isolated-margin trade lifecycle events (open, filled, closed, canceled, liquidation, stoploss, takeprofit, funding)

Private · futures:isolated:read

Topic futures/inverse/btc_usd/isolated/trades

Inverse futures isolated-margin trade lifecycle events (open, filled, closed, canceled, liquidation, stoploss, takeprofit, funding)

Authentication required. Your API key must have permission futures:isolated:read. Subscribe after sending authenticate; private events delivered before auth are dropped.

Subscribe

Subscribe by calling the subscribe method with this topic.

Request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "subscribe",
  "params": {
    "topics": [
      "futures/inverse/btc_usd/isolated/trades"
    ]
  }
}

Example notification

The server pushes the JSON-RPC notification below for every event on this topic.

Notification

{
  "jsonrpc": "2.0",
  "method": "subscription",
  "params": {
    "topic": "futures/inverse/btc_usd/isolated/trades",
    "data": {
      "pair": "btc_usd",
      "event": "open",
      "trade": {
        "id": "string",
        "side": "buy",
        "type": "limit",
        "quantity": 0,
        "margin": 0,
        "leverage": 0,
        "price": 0,
        "openingFee": 0,
        "createdAt": 0,
        "clientId": "string"
      }
    }
  }
}