These are the most granular books.

📘

Note

PRICE = 0 means that you have to remove the order from your book.

// request
{
   "event":"subscribe",
   "channel":"book",
   "pair":"<PAIR>",
   "prec":"R0"
}

// response
{
   "event":"subscribed",
   "channel":"book",
   "chanId":"<CHANNEL_ID>",
   "pair":"<PAIR>",
   "prec":"R0",
   "len":"<LENGTH>"
}
// snapshot
[
   "<CHANNEL_ID>",
   [
      [
         "<ORD_ID>",
         "<PRICE>",
         "<AMOUNT>"
      ],
      [
         "..."
      ]
   ]
]

// updates
[
   "<CHANNEL_ID>",
   "<ORD_ID>",
   "<ORD_PRICE>",
   "<AMOUNT>"
]

Fields

FieldsTypeDescription
PRECISIONstringAggregation level (R0).
ORD_IDintOrder id.
ORD_PRICEfloatOrder price.
±AMOUNTfloatTotal amount available at that price level. Positive values mean bid, negative values mean ask.
LENGTHstringNumber of price points (“25”)