Cancel Order(s)

Orders can be cancelled by orderID or clOrdID.


To call this endpoint, the API Key need to have the Place and Manage Orders permission enabled (via OSL website).


Either orderID or clOrdID array needs to be present in the request, but not both.

Note that the endpoint supports bulk cancelling, however you should take into consideration that the cancel request may fail on some orders due to timing, whereby cancels or fills are processed ahead of the cancel being processed by the matching engine.

If all cancel requests succeed, the HTTP status returned will be 200. If one or more orders fail to cancel, the HTTP status will be 400. The response will specify orders that are successfully cancelled and the reason(s) for those that are not. You can refer to the response example how they are presented.

Click Try It! to start a request and see the response here!