Cancel GTT Order
This API allows you to cancel a pending GTT order.
USE CASE
Cancel a GTT order you no longer need, for example after exiting the position another way.
Details
- You can cancel pending orders before they trigger.
- Send only the
idof the GTT order. It is returned when you place the order and is also listed in the GTT Order Book. - Response code
1103means the cancellation was successful. Other codes are specific error conditions. - Confirm the result in the GTT Order Book, where a cancelled order shows
ord_status1 andreport_typeCANCELLED. - Rate limits differ between the Standard and Prime plans. See Plans & rate limits.
Request Attributes - For each order
| Attribute | Data Type | Description |
|---|---|---|
id* | string |
|
Response Attributes
| Attribute | Data Type | Description |
|---|---|---|
s | string | ok / error |
code | int |
|
message | string |
|
id | string | Unique identifier for the cancelled order, returned if the cancellation is successful. |
Last updated on