Channels
Orderbook
Channel name: orderbook.{instrument_name}.{group}.{depth}. Public channel that periodically publishes aggregated bids and asks for a single instrument, where is the market (e.g. ETH-PERP), is the price-level aggregation size (1, 10, or 100), and is the number of levels returned per side (1, 10, 20, or 100).
WSS
/
v3
/
ws
Messages
{
"id": 1,
"method": "subscribe",
"params": {
"channels": [
"orderbook.ETH-PERP.10.20"
]
}
}No examples foundNo examples foundsubscribeRequest
type:object
Send to subscribe: list this channel's address (with the {param} segments filled, e.g. orderbook.ETH-PERP.10.20) in params.channels.
unsubscribeRequest
type:object
Send to unsubscribe: list the channel addresses to drop in params.channels, or omit it to unsubscribe from everything.
orderbookNotification
type:object
Messages
{
"id": 1,
"method": "subscribe",
"params": {
"channels": [
"orderbook.ETH-PERP.10.20"
]
}
}No examples foundNo examples found