Cancel scaled order

Terminate a scaled order: cancel every leg still resting on the book. Whatever has filled stays filled. Individual legs can also be cancelled one by one with POST /v1/orders/cancel.

The order becomes TERMINATED only when every leg is confirmed cancelled or closed. If failed_legs is non-zero the order stays OPEN and the call can simply be retried.

Errors: ABORTED while another terminate of the same order is still running; FAILED_PRECONDITION when the order is not open or has no resting legs left (e.g. it filled completely).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json