> ## Documentation Index
> Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 【公共】Ticker频道

获取平台全部永续合约的最新成交价、买一价、卖一价和24交易量。

### 推送规则

1. 无需用户登录
2. 订阅后会直接返回当前的数据，之后有变化才推送
3. 订阅后1秒发送一次

### 请求

> 请求

```json theme={null}
{
  "action":"subscribe",
  "args":["futures/ticker:BTCUSDT"]
}
```

消息格式:

`{"action":"subscribe","args":["<channel>:<symbol>"]}`

* action: `subscribe`
* channel: 频道名, 如`futures/ticker`, 固定值
* symbol: 交易对, 如`BTCUSDT`

### 返回

> 返回

```json theme={null}
{
    "data": {
        "symbol": "BTCUSDT",
        "last_price": "97153.6",
        "volume_24": "25502894",
        "range": "0.0016599204475393",
        "mark_price": "97153.7",
        "index_price": "97185.614",
        "ask_price": "97153.9",
        "ask_vol": "28",
        "bid_price": "97153.4",
        "bid_vol": "428"
    },
    "group": "futures/ticker:BTCUSDT"
}
```

返回data字段说明:

| 字段           | 数据类型   | 描述              |
| :----------- | :----- | :-------------- |
| symbol       | String | 合约交易对（如BTCUSDT） |
| last\_price  | String | 最新价格            |
| volume\_24   | String | 24小时成交张数        |
| range        | String | 涨跌幅             |
| mark\_price  | String | 标记价格            |
| index\_price | String | 指数价格            |
| ask\_price   | String | 卖盘一档（卖一）价格      |
| ask\_vol     | String | 卖盘一档（卖一）挂单张数    |
| bid\_price   | String | 买盘一档（买一）价格      |
| bid\_vol     | String | 买盘一档（买一）挂单张数    |
