v1
latestOpenAPI 3.0.22026-07-24113565544.0 KBOrders
List Account historical Orders
Retrieves a list of Account Orders by accountID. The orders returned are ones that have been previously closed, either by being filled or by being canceled.
get/accounts/{accountID}/reports/order-history
Path parameters
accountIDstring required
The user's unique account identifier.
Example:cc07f91b-7ee1-4868-b8fc-823c70a1b932.1407775317759
Query parameters
fromstring required
Date start time of data. Follow ISO 8601 standard
tostring required
Date end time of data. Follow ISO 8601 standard
limitnumber
The number of orders to be returned per page.
offsetstring
Follow ISO 8601 standard
direction'prev' | 'next'
The direction of pagination.
Response
Retrieving a list of Account Orders was Successful
Example response
{
"accountID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932.1407775317759",
"accountNo": "DWBG000052",
"tradingType": "CASH",
"updated": "2017-06-16T15:35:30.617Z",
"orders": [
{
"orderID": "IC.0e352bb7-9869-4233-9861-9673544efedd",
"orderNo": "ICDU023727",
"createdWhen": "2022-12-11T22:28:21.810Z",
"symbol": "MS",
"cumQty": 0.7219,
"orderStatus": 2,
"orderType": "MARKET",
"orderQty": 0.7219,
"side": "B",
"averagePriceRaw": 147.45,
"stopPrice": 200,
"ISIN": "US023135BX34"
}
]
}