完整ticker
GET
/az/spot/public/ticker
限流規則
1.單個交易對:10/s/ip
2.多個交易對:10/s/ip
請求參數
| 參數 | 類型 | 是否必須 | 默認值 | 描述 | 取值範圍 |
|---|---|---|---|---|---|
| symbol | string | false | 交易對 eg:btc_usdt | ||
| symbols | array | false | 交易對集合,優先級高於symbol。 eg: btc_usdt,eth_usdt | ||
| tags | string | false | 標籤集合,逗號分割,當前僅支持 spot | ||
| type | string | false | normal | 交易對類型, eg: normal |
Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": [
{
"s": "btc_usdt", //交易對(symbol)
"ts": 1662444879425, //更新時間(time, ms)
"cv": "0.00", //價格變動(change value)
"r": "0.0000", //價格變動百分比(change rate)
"o": "200.00", //最早一筆(open)
"l": "200.00", //最低(low)
"h": "200.00", //最高(high)
"c": "200.00", //最後一筆(close)
"v": "0.002", //成交量(quantity, base)
"uv": "0.40", //成交額(volume, quote)
"ap": null, //asks price(賣一價)
"aq": null, //asks qty(賣一量)
"bp": null, //bids price(買一價)
"bq": null //bids qty(買一量)
}
]
}