Messages
{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"perpetual.BTC-PERPETUAL.100ms"
]
}
}{
"data": {
"interest": 0.004999511380756577,
"timestamp": 1571386349530,
"index_price": 7872.88
}
}Market Data
perpetual.(instrument_name).(interval)
Provide current interest rate - but only for perpetual instruments. Other types won’t generate any notification.
Messages
{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"perpetual.BTC-PERPETUAL.100ms"
]
}
}{
"data": {
"interest": 0.004999511380756577,
"timestamp": 1571386349530,
"index_price": 7872.88
}
}instrument_name
type:string
required
The name of the instrument
interval
type:enum
required
Frequency of notifications. Events will be aggregated over this interval. The value raw selects the finest granularity - events are aggregated over a 1 millisecond interval (Please note that raw interval is only available to authorized users)
Allowed values: raw, 100ms, agg2
Available options:
raw, 100ms, agg2Subscription 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
data
type:object
required
interest
type:number
required
Current interest
timestamp
type:integer
required
The timestamp (milliseconds since the Unix epoch)
index_price
type:number
required
Current index price
Related topics
Notificationsbook.(instrument_name).(interval) ticker.(instrument_name).(interval) book.(instrument_name).(group).(depth).(interval) trades.(instrument_name).(interval)Was this page helpful?