Mark price
Request format
mark_price@{symbol}
- Example:
mark_price@btc_usdt - Push rate:
1000ms
Request example
Subscribe — After establishing the WebSocket connection, send the following JSON string.
SUBSCRIBE
{
"method": "SUBSCRIBE",
"params": ["mark_price@btc_usdt"],
"id": "test" // this param could call whatever you want
}
Response example
{
"topic": "mark_price",
"event": "mark_price@btc_usdt",
"data": {
"s": "btc_usdt", // symbol
"p": "50000", // price
"t": 123124124 // timestamp
}
}