查询近期成交列表
GET: /v1/spot/public/trade/recent
Parameters
参数 | 数据类型 | 是否必须 | 默认值 | 描述 | 取值范围 |
---|---|---|---|---|---|
symbol | string | true | 交易对 | ||
limit | number | false | 200 | 数量 | 1~1000 |
限流规则
10/s/ip
Java
public String tradeRecent(){
}
Response
{
"code": 200,
"msg": "string",
"msgInfo": [
{}
],
"data": [
{
"i": 0, //ID
"t": 0, //成交时间(time)
"p": "string", //成交价(price)
"q": "string", //成交量(quantity)
"v": "string", //成交额(volume)
"b": true //方向(buyerMaker)
}
]
}