Skip to main content

Fund rate

Request format​

fund_rate@{symbol}
  • Example: fund_rate@btc_usdt
  • Push rate: 60s

Request example​

Subscribe — After establishing the WebSocket connection, send the following JSON string.

SUBSCRIBE
{
"method": "SUBSCRIBE",
"params": ["fund_rate@btc_usdt"],
"id": "test" // this param could call whatever you want
}

Response example​

{
"topic": "fund_rate",
"event": "fund_rate@btc_usdt",
"data": {
"s": "btc_usdt", // symbol
"r": "0.01", // funding rate
"t": 123124124 // timestamp
}
}