> ## 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.

# 【公共】24h 行情频道

获取交易对的 24 小时行情数据

### 推送规则

1. 无需用户登录
2. 每 1 秒推送一次

### 请求

> 请求

```json theme={null}
{
  "id": "1",
  "cmd": "SUBSCRIBE",
  "params": ["ticker@PERP_BTC_USDT"]
}
```

Topic 格式:

`ticker@<symbol>`

* symbol: 交易对，如 `PERP_BTC_USDT`

### 返回

> 返回

```json theme={null}
{
  "topic": "ticker@PERP_BTC_USDT",
  "ts": 1614152270000,
  "data": {
    "s": "PERP_BTC_USDT",
    "o": "64200.10",
    "c": "65001.20",
    "h": "65500.00",
    "l": "63800.00",
    "v": "15420.30",
    "a": "998765432.10",
    "q": "15420.30",
    "u": "998765432.10",
    "cnt": 154320,
    "ts": 1614152260000,
    "tts": 1614152250000
  }
}
```

返回数据说明:

| 字段 | 类型 | 描述 |
| :- | :- | :- |
| s | String | 交易对 |
| o | String | 开盘价 |
| c | String | 收盘价（最新价） |
| h | String | 最高价 |
| l | String | 最低价 |
| v | String | 成交量（币种数量） |
| a | String | 成交额（USDT） |
| q | String | 聚合成交量（币种数量） |
| u | String | 聚合成交额（USDT） |
| cnt | Long | 成交笔数 |
| ts | Long | 生成时间（毫秒） |
| tts | Long | 最后一笔成交时间（毫秒） |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.