Subscriptions
Inverse Perp Btc Usd Buckets
Volume ladder bucket updates: executable bid and ask prices by order size; market orders fill at them and order levels trigger on them
Public · 4 fields
Topic inverse_perp/btc_usd/buckets
Volume ladder bucket updates: executable bid and ask prices by order size; market orders fill at them and order levels trigger on them
Public topic — anyone connected to the WebSocket can subscribe, no API key needed.
Subscribe
Subscribe by calling the subscribe method with this topic.
Request
{
"jsonrpc": "2.0",
"id": 1,
"method": "subscribe",
"params": {
"topics": [
"inverse_perp/btc_usd/buckets"
]
}
}Payload
Each notification carries the fields below in params.data.
time*numberbuckets*object[]instrument*stringinverse_perplinear_perpquanto_perpquanto_spotspotpair*stringExample notification
The server pushes the JSON-RPC notification below for every event on this topic.
Notification
{
"jsonrpc": "2.0",
"method": "subscription",
"params": {
"topic": "inverse_perp/btc_usd/buckets",
"data": {
"time": 0,
"buckets": [
{
"minSize": 0,
"maxSize": 0,
"askPrice": 0,
"bidPrice": 0
}
],
"instrument": "inverse_perp",
"pair": "string"
}
}
}