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.
【Public】Trade Channel
Get trade dataPushing Rules
- No user login required
- After subscribing, then the changes will be pushed
Request
Request
{"action":"subscribe","args":["<channel:symbol>","<channel:symbol>"]}
- actions:
subscribe - channel: Channel name
futures/trade, fixed value - symbol: Trading pair, such as
BTCUSDT
Response
Response
| Field | Type | Description |
|---|---|---|
| symbol | String | symbol |
| deal_price | String | deal price |
| trade_id | Long | trade id |
| deal_vol | String | deal vol |
| way | Int | Trading type - 1=buy_open_long sell_open_short - 2=buy_open_long sell_close_long - 3=buy_close_short sell_open_short - 4=buy_close_short sell_close_long - 5=sell_open_short buy_open_long - 6=sell_open_short buy_close_short - 7=sell_close_long buy_open_long - 8=sell_close_long buy_close_short |
| m | Bool | -true=buyer is maker - false=seller is maker |
| created_at | String | transaction create time(ms) |