{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"incremental_ticker.BTC-PERPETUAL"
]
}
}{
"data": {
"type": "snapshot",
"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
}
}Notifies about changes in instrument ticker (key information about the instrument).
The first notification will contain the whole ticker. After that there will only be information about changes in the ticker.
This event is sent at most once per second.
{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"incremental_ticker.BTC-PERPETUAL"
]
}
}{
"data": {
"type": "snapshot",
"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
}
}The name of the instrument
Client sends subscription request to subscribe to notification channel. Please refer to Notification page for more information.
Server sends subscription notification data
Was this page helpful?