跳到主要内容

订阅参数

结构

<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 后缀。