跳到主要内容

查询历史成交列表

GET: /v1/spot/public/trade/history

Parameters

参数数据类型是否必须默认值描述取值范围
symbolstringtrue交易对
limitnumberfalse200数量1~1000
directionenumtrue查询方向PREV-上一页,NEXT-下一页
fromIdnumberfalse起始 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)
}
]
}