Get Fills
Permission: Read
Weight: 5
Request parameters
Name | Type | Mandatory | Description |
symbol | string | YES | Symbol. |
startTime | number | NO | Start time in millisecond. |
endTime | number | NO | End time in millisecond. |
Response format
Name | Type | Description | |
fills | array | Collection of filled orders, sorted by filled time in descending order | |
id | number | Filled id. | |
orderId | number | Order id. | |
symbol | string | Symbol. | |
side | string | BUY / SELL. | |
role | string | TAKER / MAKER. | |
price | string | Price of fill. | |
size | string | Quantity of fill. | |
fee | string | Transaction fee. | |
feeCoin | string | Currency of transaction fee. | |
timestamp | number | Fill timestamp in millisecond. |
Caution
When the number of orders in time range exceeds 100, return the latest 100 fills.
The self-dealing transaction will result in two transaction records, one for TAKER and the other for MAKER.
Error code
TRADE_INVALID_SYMBOL Invalid symbol.
TRADE_PARAMETER_ERROR Parameter error.
Request example
Response example
Last updated