產品行情數據
//產品行情數據
{
"id": 1545910660742,
"type": "subscribe",
"topic": "/contract/instrument:XBTUSDTM",
"response": true
}
Topic:/contract/instrument:{symbol}
訂閱此topic,可獲取指定合約產品的行情數據。
標記價格、指數價格
//標記價格、指數價格
{
"topic": "/contract/instrument:XBTUSDTM",
"subject": "mark.index.price",
"data": {
"granularity": 1000, //粒度
"indexPrice": 4000.23, //指數價格
"markPrice": 4010.52, //標記價格
"timestamp": 1551770400000
}
}
資金費率
//資金費率
{
"topic": "/contract/instrument:XBTUSDTM",
"subject": "funding.rate",
"data": {
"granularity": 60000, //粒度(預測資金費率:1分鐘粒度60000; 資金費率: 8小時粒度28800000)
"fundingRate": -0.002966, //資金費率
"timestamp": 1551770400000
}
}