Documentation
The Questrade API allows developers to create their own fully featured trading and analytical applications through their brokerage account.
REST operations
GET accounts/:id/executions
Retrieves executions for a specific account.
Request parameters
| Parameter | Type | Description |
|---|---|---|
| Parameterid | TypeString | DescriptionAccount number. Can occur in the 'location' header only. |
| ParameterstartTime | TypeDateTime | DescriptionStart of time range in ISO format. By default – start of today, 12:00am. |
| ParameterendTime | TypeDateTime | DescriptionEnd of time range in ISO format. By default – end of today, 11:59pm |
Response properties
| Property | Type | Description |
|---|---|---|
| Propertyexecutions | TypeComplex | DescriptionList of execution records. |
| PropertyNested property, level 2. Execution | TypeComplex | Description |
| PropertyNested property, level 3. symbol | TypeString | DescriptionExecution symbol. |
| PropertyNested property, level 3. symbolId | TypeInteger | DescriptionInternal symbol identifier. |
| PropertyNested property, level 3. quantity | TypeInteger | DescriptionExecution quantity. |
| PropertyNested property, level 3. side | TypeString | DescriptionClient side of the order to which execution belongs. SeeClient Order Side section for all allowed values. |
| Property Nested property, level 3. price | Type Double | Description Execution price. |
| Property Nested property, level 3. id | Type Double | Description Internal identifier of the execution. |
| Property Nested property, level 3. orderId | Type Integer | Description Internal identifier of the order to which the execution belongs. |
| Property Nested property, level 3. orderChainId | Type Integer | Description Internal identifier of the order chain to which the execution belongs. |
| Property Nested property, level 3. exchangeExecId | Type string | Description Identifier of the execution at the market where it originated. |
| Property Nested property, level 3. timestamp | Type DateTime | Description Execution timestamp. |
| Property Nested property, level 3. notes | Type String | Description Manual notes that may have been entered by Trade Desk staff. |
| Property Nested property, level 3. venue | Type String | Description Trading venue where execution originated. |
| Property Nested property, level 3. totalCost | Type Double | Description Execution cost (price x quantity). |
| Property Nested property, level 3. orderPlacementCommission | Type Double | DescriptionQuestrade commission for orders placed with Trade Desk. |
| Property Nested property, level 3. commission | Type Double | Description Questrade commission. |
| Property Nested property, level 3. executionFee | Type Double | DescriptionLiquidity fee charged by execution venue. |
| Property Nested property, level 3. secFee | Type Double | DescriptionSEC fee charged on all sales of US securities. |
| Property Nested property, level 3. canadianExecutionFee | Type Integer | DescriptionAdditional execution fee charged by TSX (if applicable). |
| Property Nested property, level 3. parentId | Type Integer | DescriptionInternal identifierof the parent order. |
Sample request
GET https://api01.iq.questrade.com/v1/accounts/26598145/executionsSample JSON response
{
"executions": [
{
"symbol": "AAPL",
"symbolId": 8049,
"quantity": 10,
"side": "Buy",
"price": 536.87,
"id": 53817310,
"orderId": 177106005,
"orderChainId": 17710600,
"exchangeExecId": "XS1771060050147",
"timestam": 2014-03-31T13:38:29.000000-04:00,
"notes": "",
"venue": "LAMP",
"totalCost": 5368.7,
"orderPlacementCommission": 0,
"commission": 4.95,
"executionFee": 0,
"secFee": 0,
"canadianExecutionFee": 0,
"parentId": 0,
}
]
}Already a Questrade client?
Create your first application using your Questrade account.
Integrate your application with Questrade API
Support
If you are using an api app developed by a third party, you are required to read, understand and accept the end-user license agreement for application program interface. If you are utilizing api access for an api-enabled app you built, you are required to read, understand and accept the Questrade personal application program interface ("api") license agreement ("license agreement"). This agreement can be found below. You may be bound by both agreements.


