New and existing clients get up to $1,000 bonus at Questrade. New clients use code GET1000. Learn more.

(opens in a new tab)

Documentation

The Questrade API allows developers to create their own fully featured trading and analytical applications through their brokerage account.

GET accounts/:id/executions

Retrieves executions for a specific account.

Request parameters

Request parameters
ParameteridTypeStringDescriptionAccount number. Can occur in the 'location' header only.
ParameterstartTimeTypeDateTimeDescriptionStart of time range in ISO format. By default – start of today, 12:00am.
ParameterendTimeTypeDateTimeDescriptionEnd of time range in ISO format. By default – end of today, 11:59pm

Response properties

Response properties
PropertyexecutionsTypeComplexDescriptionList of execution records.
PropertyNested property, level 2. ExecutionTypeComplexDescription
PropertyNested property, level 3. symbolTypeStringDescriptionExecution symbol.
PropertyNested property, level 3. symbolIdTypeIntegerDescriptionInternal symbol identifier.
PropertyNested property, level 3. quantityTypeIntegerDescriptionExecution quantity.
PropertyNested property, level 3. sideTypeStringDescriptionClient side of the order to which execution belongs. SeeClient Order Side section for all allowed values.
Property Nested property, level 3. priceType DoubleDescription Execution price.
Property Nested property, level 3. idType DoubleDescription Internal identifier of the execution.
Property Nested property, level 3. orderIdType IntegerDescription Internal identifier of the order to which the execution belongs.
Property Nested property, level 3. orderChainIdType IntegerDescription Internal identifier of the order chain to which the execution belongs.
Property Nested property, level 3. exchangeExecIdType stringDescription Identifier of the execution at the market where it originated.
Property Nested property, level 3. timestampType DateTimeDescription Execution timestamp.
Property Nested property, level 3. notesType StringDescription Manual notes that may have been entered by Trade Desk staff.
Property Nested property, level 3. venueType StringDescription Trading venue where execution originated.
Property Nested property, level 3. totalCostType DoubleDescription Execution cost (price x quantity).
Property Nested property, level 3. orderPlacementCommissionType DoubleDescriptionQuestrade commission for orders placed with Trade Desk.
Property Nested property, level 3. commissionType DoubleDescription Questrade commission.
Property Nested property, level 3. executionFeeType DoubleDescriptionLiquidity fee charged by execution venue.
Property Nested property, level 3. secFeeType DoubleDescriptionSEC fee charged on all sales of US securities.
Property Nested property, level 3. canadianExecutionFeeType IntegerDescriptionAdditional execution fee charged by TSX (if applicable).
Property Nested property, level 3. parentIdType IntegerDescriptionInternal identifierof the parent order.

Sample request

HTTP
GET https://api01.iq.questrade.com/v1/accounts/26598145/executions

Sample JSON response

JSON
{
    "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

Report an issue

Have questions about Questrade's API? Tell us how we can help, send us an email.

Request a feature

We want your ideas on how we can improve our API. If you have a suggestion for a minor tweak, a major overhaul, or something brand new, please share it with us.

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.

See All