跳至主要内容

訂閱參數

結構

<type>@<symbol> ,其中 <symbol> 用小寫下劃線(如 btc_usdt)。

示例:ticker@btc_usdt 、depth@btc_usdt 、depth5@btc_usdt 、depth10@btc_usdt 、depth20@btc_usdt 、depth50@btc_usdt 、depth100@btc_usdt 、tickerbook@btc_usdt 、deal@btc_usdt 、kline_1m@btc_usdt 、best_price@btc_usdt 、pred_ticker@btc_usdt 。

  • 定檔深度支持檔位 5 / 10 / 20 / 50 / 100;舊寫法 depth@<symbol>,<level> 也接受並會歸一(如 depth@btc_usdt,20)。

  • pred_ticker@<symbol> 僅對預測市場 symbol 有效;預測 symbol 不進入普通 ticker 頻道。

全市場頻道 tickers 與 pred_tickers 無 @symbol 後綴。