Subscriptions

Cross Orders

Inverse futures cross-margin order events (new, limit, canceled)

Private · futures:cross:read

Topic futures/inverse/btc_usd/cross/orders

Inverse futures cross-margin order events (new, limit, canceled)

Authentication required. Your API key must have permission futures:cross: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/cross/orders"
    ]
  }
}

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/cross/orders",
    "data": {
      "pair": "btc_usd",
      "event": "new",
      "order": {
        "id": "d0b9f9a0-4f6e-4a5a-8b7a-7f0f5f9a8a1e",
        "side": "buy",
        "type": "limit",
        "quantity": -9007199254740991,
        "price": -9007199254740991,
        "tradingFee": -9007199254740991,
        "clientId": "string",
        "createdAt": 0
      }
    }
  }
}