Orderbook
Orderbook data
This guide explains how to use the WebSocket API to subscribe to market data updates via the /orderbook
channel.
Overview
The WebSocket API allows clients to receive real-time market data updates. Subscribing to the /orderbook
channel provides updates for market ticker data, including prices, bids, asks, and quantities.
Channel
/orderbook/*
/orderbook/*
Subscribe to get ticker data from all active markets.
/orderbook/bytradingpair/{market symbol}
/orderbook/bytradingpair/{market symbol}
Subscribe to get ticker data from specific markets
Client may be subscribed to many markets at the same time.
Subscription
Market Data Model
When subscribed to the /orderbook
channel, the server sends market data updates in the following format:
Level 2 Market Data Example
Example message
Field Descriptions
channel
String
The type of data channel, e.g., "orderbook".
data
Array
Array containing market data for the specified symbol.
symbol
String
The trading pair, e.g., "ABCEUROe".
buy
Array of Objects
List of buy orders with price levels and quantities.
sell
Array of Objects
List of sell orders with price levels and quantities.
limit
Number
Price limit for the order.
totalQuantity
Number
Total quantity of orders at the price level.
orderCount
Number
Number of orders at the price level.
time
String (ISO 8601)
Timestamp of the market data.
Last updated