Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "public/subscribe",
"params": {
"channels": [
"incremental_ticker.BTC-PERPETUAL"
]
}
}{
"data": {
"best_ask_amount": 100,
"best_ask_price": 36443,
"best_bid_amount": 5000,
"best_bid_price": 36442.5,
"current_funding": 0,
"estimated_delivery_price": 36441.64,
"funding_8h": 0.0000211,
"index_price": 36441.64,
"instrument_name": "BTC-PERPETUAL",
"last_price": 36457.5,
"mark_price": 36446.51,
"max_price": 36991.72,
"min_price": 35898.37,
"open_interest": 502097590,
"settlement_price": 36169.49,
"state": "open",
"stats": {
"high": 36824.5,
"low": 35213.5,
"price_change": 0.7229,
"volume": 7871.02139035,
"volume_usd": 284061480
},
"timestamp": 1623060194301,
"type": "snapshot"
}
}Market Data
incremental_ticker.(instrument_name)
Real-time ticker updates for an instrument, delivered as a snapshot followed by incremental updates.
- The first notification contains the full ticker snapshot.
- Subsequent notifications contain only fields that changed since the previous update.
This event is sent at most once per second.
WSS
incremental_ticker.(instrument_name)
Messages
{
"id": 42,
"jsonrpc": "2.0",
"method": "public/subscribe",
"params": {
"channels": [
"incremental_ticker.BTC-PERPETUAL"
]
}
}{
"data": {
"best_ask_amount": 100,
"best_ask_price": 36443,
"best_bid_amount": 5000,
"best_bid_price": 36442.5,
"current_funding": 0,
"estimated_delivery_price": 36441.64,
"funding_8h": 0.0000211,
"index_price": 36441.64,
"instrument_name": "BTC-PERPETUAL",
"last_price": 36457.5,
"mark_price": 36446.51,
"max_price": 36991.72,
"min_price": 35898.37,
"open_interest": 502097590,
"settlement_price": 36169.49,
"state": "open",
"stats": {
"high": 36824.5,
"low": 35213.5,
"price_change": 0.7229,
"volume": 7871.02139035,
"volume_usd": 284061480
},
"timestamp": 1623060194301,
"type": "snapshot"
}
}instrument_name
type:string
required
The name of the instrument
Subscription Request
type:object
Client sends subscription request to subscribe to notification channel. Please refer to Notification page for more information.
Subscription Notification Data
type:object
Server sends subscription notification data
Was this page helpful?
⌘I