查询历史成交列表
GET: /v1/spot/public/trade/history
Parameters
参数 | 数据类型 | 是否必须 | 默认值 | 描述 | 取值范围 |
---|---|---|---|---|---|
symbol | string | true | 交易对 | ||
limit | number | false | 200 | 数量 | 1~1000 |
direction | enum | true | 查询方向 | PREV-上一页,NEXT-下一页 | |
fromId | number | false | 起始 ID,eg: 6216559590087220004 |
Limit Flow Rules
10/s/ip
Java
public String tradeHistory(){
}
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)
}
]
}