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

PUBLISH Cancel All Orders

REQUEST

<tr>
  <td>
    * \*op\*\* <span class="ws-data-type ws-small-font">string</span>  <span class="ws-required-tag ws-small-font">required</span>
      Operation code: `cancel_all_orders`
  </td>
</tr>

<tr>
  <td>
    <span class="ws-small-font">data.</span>**instrument\_type** <span class="ws-data-type ws-small-font">string</span> <span class="ws-required-tag ws-small-font">optional</span>
    Instrument Type: Eg. `OPTION` or `PERPETUAL`
  </td>
</tr>

* \*id\*\* integer Request ID, an arbitrary integer to link requests with responses. Eg. `1`

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

RESPONSE

* \*id\*\* integer Response ID, an arbitrary integer to link requests with responses. Eg. `1`

Example

Last updated