Orderbook
Stream order blocks in certain orderbooks in Standard spot exchange
β
Request
{
"id": 1,
"method": "spot.orderbook.subscribe.pairs",
"params": {
"books": [{
"pair": "ETH/USDC",
"step": "0.1"
},
{
"pair": "WBTC/USDT",
"step": "0.01"
}]
}
}{
"id": 1,
"method": "spot.orderbook.unsubscribe.pairs",
"params": {
"books": [{
"pair": "ETH/USDC",
"step": "0.1",
},
{
"pair": "WBTC/USDT",
"step": "0.01"
}]
}
}π€ Response
π‘ Streamed Data Format
π Field Descriptions
Index
Field
Type
Description
0`
eventId
string
Unique event identifier
1
isBid
boolean
true for bid, false for ask
2
price
float
Price of the update
3
baseVolume
float
Volume in base token
4
quoteVolume
float
Volume in quote token
5
scale
float
Decimal scale of the price or bucket
6
timestamp
integer
UNIX timestamp of the event (in seconds)
Last updated