Get Fills By Order Id
Permission: Read
Weight: 5
Request parameters
Name | Type | Mandatory | Description |
orderId | number | YES | Order id, return empty list if orderId not found. |
fromId | number | NO | Return 100 (earlier) fills before this fill. Return all earlier fills if there is insufficient number of fills. If not specified, return the latest fills. |
Response format
Name | Type | Description | |
fills | array | Collection of filled orders, sorted by filled time in descending order. | |
id | number | Fill id. | |
orderId | number | Order id. | |
symbol | string | Symbol. | |
side | string | BUY / SELL | |
role | string | TAKER / MAKER | |
price | string | Price of fill. | |
size | string | Price of fill. | |
fee | string | Transaction fee. | |
feeCoin | string | Currency of transaction fee. | |
timestamp | number | Fill timestamp in millisecond. |
Error code
TRADE_INVALID_SYMBOL Invalid symbol
TRADE_PARAMETER_ERROR Parameter error
Request example
Response example
Last updated