Deposit to win a Porsche 911 GT3, Hermès Birkin, Rolex, and more. $1 = 1 entry. Learn more about Season 01.

(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.

DELETE accounts/:id/orders/:orderId

Allows to cancel an existing order.

Request parameters

ParameteridTypeStringDescriptionAccount number against which order is being submitted. Can occur in the 'Location' header only.
ParameterorderIdTypeIntegerDescriptionInternal identifier of the order. Can occur in the 'Location' header only.

Response properties

PropertyorderIdTypeIntegerDescriptionInternal identifier of the order.

Sample request

HTTP
DELETE https://api01.iq.questrade.com/v1/accounts/26598145/orders/203526220

Sample JSON response

JSON
    {
	   "orderId": 203526220  
    }

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