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.
【公共】最新成交频道
获取最新成交数据推送规则
- 无需用户登录
- 订阅后有变化才推送
请求
请求
{"action":"subscribe","args":["<channel:symbol>","<channel:symbol>"]}
- action:
subscribe - channel: 频道名, 如
futures/trade, 固定值 - symbol: 交易对, 如
BTCUSDT
返回
返回
| 字段 | 数据类型 | 描述 |
|---|---|---|
| symbol | String | 合约交易对(如BTCUSDT) |
| deal_price | String | 最新价格 |
| trade_id | Long | 成交id |
| deal_vol | String | 成交数量 |
| way | Int | 订单方向 - 1=开多买 开空卖 - 2=开多买 平多卖 - 3=平空买 开空卖 - 4=平空买 平多卖 - 5=开空卖 开多买 - 6=开空卖 平空买 - 7=平多卖 开多买 - 8=平多卖 平空买 |
| m | Bool | -true=买方是maker - false=卖方是maker |
| created_at | String | 成交时间(精确到毫秒) |