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
Parameter | Type | Description |
---|---|---|
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
Property | Type | Description |
---|---|---|
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 }