WS / 24-hour Ticker Channel
Address/future-ws/v1/market
Description
Get the latest transaction price, bid price, ask price, and 24-hour trading volume information for the product. Pushes as quickly as 500ms, no push when no event is triggered, and the event that triggers the push is: Trade
Channel Name
tickers
Submission Parameters
| Parameter Name | Required | Type | Example | Description |
|---|---|---|---|---|
| op | Yes | string | sub | Operation, sub: subscribe unsub: unsubscribe |
| channel | Yes | string | tickers | Channel Name |
| symbol | Yes | string | BTC-USDT | Trading pair name |
Return Parameters
| Parameter Name | Required | Type | Example | Description |
|---|---|---|---|---|
| errno | Yes | int | 0 | Status code |
| errmsg | Yes | success | success | Status Information |
| op | Yes | string | sub | Operation, sub: subscribe unsub: unsubscribe |
| channel | Yes | string | tickers | Channel Name |
| symbol | Yes | string | BTC-USDT | Trading pair name |
Push Data Parameters
| Parameter Name | Required | Type | Example | Description |
|---|---|---|---|---|
| channel | Yes | string | tickers | Channel Name |
| symbol | Yes | string | BTC-USDT | trading pair |
| last | Yes | string | 999.2 | Latest Price |
| ask | Yes | string | 999.3 | Selling Price 1 |
| bid | Yes | string | 999.1 | Buy one price |
| open | Yes | string | 999.1 | 24-hour opening price |
| close | yes | string | 999.1 | 24-hour closing price |
| high | Yes | string | 999.1 | 24-hour highest price |
| low | Yes | string | 999.1 | 24-hour lowest price |
| vol | Yes | string | 2222 | 24-hour trading volume (unit: contracts) |
| vol_ccy | Yes | string | 999.1 | 24-hour trading volume (unit: quantity of the trading currency) |
| ts | Yes | long | 1597026383085 | Data generation time, millisecond timestamp |