# Cancel Orders

{% hint style="success" %}
All commands also operate on explicit symbols, simply add the symbol at the end of each command
{% endhint %}

| Command Text                                                                                                    | Description                                         | Example                                                                                       |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| <p><strong><code>cancel</code></strong><br><br></p><p><strong><code>cancel \<instrument></code></strong>   </p> | Cancel all orders                                   |                                                                                               |
| **`cancel <side>`**                                                                                             | Cancel all buys or sells                            | <p><em><code>cancel buys</code></em>, </p><p><em><code>cancel sells xrpusdt</code></em>  </p> |
| **`cancel top <number>`**                                                                                       | Cancel top orders by price, side is not important   | *`cancel top 5`*                                                                              |
| **`cancel bottom <number>`**                                                                                    | Cancel bottom orders by price                       | *`cancel bottom 10 btcusdt`*                                                                  |
| **`cancel first <number>`**                                                                                     | Cancels orders by time of placement, first = oldest | *`cancel first 3`*                                                                            |
| **`cancel last <number>`**                                                                                      | Cancels orders by time of placement, last = newest  | *`cancel last 5`*                                                                             |
| **`cancel stops`**                                                                                              | Cancel all stops                                    |                                                                                               |
| **`cancel buy stops`**                                                                                          | Cancel buy stops                                    |                                                                                               |
| **`cancel sell stops`**                                                                                         | Cancel sell stops                                   |                                                                                               |
