Subscribes/Unsubscribes to market options Liquidations data.

Make sure you're connected to this subscription: wss:// Either the instrument or exchange have to be specified - one needs to be specified, but both cannot be empty.


  "jsonrpc" : "2.0",
  "id"      : 1,
  "method"  : "subscribe",
  "params"  : [ "market:options:liquidations", { "instrument": "ETH-30SEP22-9000-P", "exchange": "deribit" } ]
instrumentstringThe asset instrument.
exchangestringThe exchange for which to retrieve asset instruments.


"result": {
  "exchange": "deribit",
  "instrument": "ETH-30SEP22-9000-P",
  "timestamp": 1637916913907,
  "originalQuantity": 2.0,
  "price": 0.001,
  "side": "BUY",
  "status": null,
  "type": null,
  "timeInForce": null,
  "action": null,
  "orderId": "ETH-104154743"
exchangestringThe exchange.
timestampnumberThe time at which the liquidation took place.
originalQuantitynumberThe original quantity before the liquidation occurred.
pricenumberThe price of the instrument at the time of the liquidation.
sidestringThe direction of the trade.
statusstringThe status of the liquidation.
typestringThe type of liquidation.
timeInForcestringHow long the order is to remain active before it is executed or expires, for example:
- IOC: immediate-or-cancel
- FOK: fill-or-kill
- GTC: good-'till-canceled
- etc
actionstringThe type of action taken during the liquidation process (for example: delete, insert, update, etc).
orderIdstringThe order identifier.


const WebSocket = require('ws');
const ws = new WebSocket('wss://', {headers: {x-api-key:'<api_key>'}});

ws.on('open', () => {
      jsonrpc: '2.0',
      method: 'subscribe',
      params: ['market:options:liquidations', {'instrument': 'ETH-30SEP22-9000-P', 'exchange': 'deribit'}],
      id: 1,

ws.on('message', data => {
  console.log(JSON.stringify(JSON.parse(data), null, 2));