Young man smiling

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

ParameterTypeDescription
id
String
Account number against which order is being submitted.
Can occur in the ‘Location’ header only.
orderId
Integer
Internal identifier of the order.
Can occur in the ‘Location’ header only.

Response properties

PropertyTypeDescription
orderId
Integer
Internal identifier of the order.

Sample request


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

Sample JSON response

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

Get Started

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.

Get Started

Start a free trial

Try out the features of your application in a simulated environment without affecting your real positions.

Get Started
See All