WS / 24-Hour Market Data
Address/ws/v1/market
Description
Get the latest transaction price, buy one price, sell one price, and 24-hour trading volume of the product.
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 |
Submit Example
Return 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 | Sell one price |
| bid | Yes | string | 999.1 | Bid Price |
| open | Yes | string | 999.1 | 24-hour opening price |
| high | Yes | string | 999.1 | The highest price in 24 hours |
| low | Yes | string | 999.1 | 24-hour lowest price |
| amount | Yes | string | 2222 | 24-hour trading volume |
| vol | Yes | string | 999.1 | 24 hour trading volume |
| ts | Yes | long | 1597026383085 | Data generation time, millisecond timestamp |