跳至主要内容

行情

訂閱行情數據

重要

該topic推送delta數據和snapshot数据。如果delta數據為空,表明信息沒有發生變化。

推送頻率: 實時

Topic: tickers.{symbol}

響應參數

參數類型說明
topicstringTopic名稱
typestring數據類型. `snapshot`,`delta`
csinteger撮合版本號
tsnumber行情服務生成數據的時間戳 (毫秒)
dataarrayObject
> symbolstring合約名稱
> tickDirectionstring價格變化方向
> price24hPcntstring市場價格相對24h前變化的百分比
> lastPricestring最新市場成交價
> prevPrice24hstring24小時前的整點市價
> highPrice24hstring最近24小時的最高價
> lowPrice24hstring最近24小時的最低價
> prevPrice1hstring1小時前的整點市價
> markPricestring標記價格
> indexPricestring指數價格
> openIntereststring未平倉合約的數量
> openInterestValuestring未平倉合約的價值
> turnover24hstring最近24小時成交額
> volume24hstring最近24小時成交量
> nextFundingTimestring下次結算資金費用的時間戳 (毫秒)
> fundingRatestring資金費率
> bid1Pricestring買1價
> bid1Sizestring買1價的數量
> ask1Pricestring賣1價
> ask1Sizestring賣1價的數量

推送示例

{
"topic": "tickers.BTCUSDT",
"type": "snapshot",
"data": {
"symbol": "BTCUSDT",
"tickDirection": "MinusTick",
"price24hPcnt": "0.017367",
"lastPrice": "17222.00",
"prevPrice24h": "16928.00",
"highPrice24h": "17281.50",
"lowPrice24h": "16915.00",
"prevPrice1h": "17238.00",
"markPrice": "17224.40",
"indexPrice": "17234.84",
"openInterest": "68795.534",
"openInterestValue": "1184961795.83",
"turnover24h": "1572429119.324499",
"volume24h": "91823.449",
"nextFundingTime": "1673280000000",
"fundingRate": "-0.000211",
"bid1Price": "17222.00",
"bid1Size": "220.358",
"ask1Price": "17222.50",
"ask1Size": "3.902"
},
"cs": 24988405605,
"ts": 1673273043686
}