Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

PUBLISH Cancel All Orders

Request

Field
Type
Required
Description

op

string

Yes

Operation code: cancel_all_orders

data.instrument_type

string

No

Instrument Type: Example: OPTION or PERPETUAL

id

integer

No

Request ID, an arbitrary integer to link requests with responses. Example: 1

Example

{
  "id": 1,
  "op": "cancel_all_orders",
  "data": {
    "instrument_type": "OPTION"
  }
}

Response

Field
Type
Required
Description

data.success

boolean

Yes

True if cancel is successful.

data.order_ids

array of strings

Yes

Returns a list of order ids that were successfully cancelled.

id

integer

No

Response ID, an arbitrary integer to link requests with responses. Example: 1

Example

Last updated

Was this helpful?