Get Transaction History
List the last 100 trades for a symbol.
HTTP REQUEST
GET /api/v1/trade/history
Example
GET /api/v1/trade/history?symbol=XBTUSDM
{
"code": "200000",
"data": {
"sequence": 102, //Sequence number
"tradeId": "5cbd7377a6ffab0c7ba98b26", //Transaction ID
"takerOrderId": "5cbd7377a6ffab0c7ba98b27", //Taker order ID
"makerOrderId": "5cbd7377a6ffab0c7ba98b28", //Maker order ID
"price": "7000.0", //Filled price
"size": 1, //Filled quantity
"side": "buy", //Side-taker
"ts": 1545904567062140823 //Filled time - nanosecond
}
}
REQUEST URL
This endpoint support Futures URL
REQUEST RATE LIMIT
Public weight
:5
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
symbol | String | Yes | Symbol of the contract |
RESPONSES
Param | Description |
---|---|
sequence | Sequence number |
tradeId | Transaction ID |
takerOrderId | Taker order ID |
makerOrderId | Maker order ID |
price | Filled price |
size | Filled quantity |
side | Side |
ts | Filled time - nanosecond |
Description
SIDE The trade side indicates the taker order side. A taker order is the order that was matched with orders opened on the order book.