跳到主要内容

PriceTickerResponse

successboolean必填

是否成功;HTTP 状态为 200 时为 true

codeinteger必填

状态码;成功时为 1

msgstring必填

状态信息

timenumber必填

当前 Unix 时间戳

data object必填
symbolstring必填

符号名称

pricestring必填

最新价格;若无成交则为 0

timenumber必填

价格的成交 Unix 时间戳

PriceTickerResponse
{
"success": true,
"code": 0,
"msg": "string",
"time": 0,
"data": {
"symbol": "string",
"price": "string",
"time": 0
}
}