{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"markprice.options.(index_name)"
]
}
}{
"data": [
{
"timestamp": 1622470378005,
"mark_price": 0.0333,
"iv": 0.9,
"instrument_name": "BTC-2JUN21-37000-P"
},
{
"timestamp": 1622470378005,
"mark_price": 0.117,
"iv": 0.9,
"instrument_name": "BTC-4JUN21-40500-P"
},
{
"timestamp": 1622470378005,
"mark_price": 0.0177,
"iv": 0.9,
"instrument_name": "BTC-4JUN21-38250-C"
},
{
"timestamp": 1622470378005,
"mark_price": 0.0098,
"iv": 0.9,
"instrument_name": "BTC-1JUN21-37000-C"
},
{
"timestamp": 1622470378005,
"mark_price": 0.0371,
"iv": 0.9,
"instrument_name": "BTC-4JUN21-36500-P"
}
]
}Provides information about options markprices.
{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"markprice.options.(index_name)"
]
}
}{
"data": [
{
"timestamp": 1622470378005,
"mark_price": 0.0333,
"iv": 0.9,
"instrument_name": "BTC-2JUN21-37000-P"
},
{
"timestamp": 1622470378005,
"mark_price": 0.117,
"iv": 0.9,
"instrument_name": "BTC-4JUN21-40500-P"
},
{
"timestamp": 1622470378005,
"mark_price": 0.0177,
"iv": 0.9,
"instrument_name": "BTC-4JUN21-38250-C"
},
{
"timestamp": 1622470378005,
"mark_price": 0.0098,
"iv": 0.9,
"instrument_name": "BTC-1JUN21-37000-C"
},
{
"timestamp": 1622470378005,
"mark_price": 0.0371,
"iv": 0.9,
"instrument_name": "BTC-4JUN21-36500-P"
}
]
}Index name
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?