This message requests the cancellation of a particular order. If an order has been partially filled, only the remaining quantity can be cancelled. The request should be accepted only if an order can successfully be cancelled without executing further. The server generated identifiers should be used asDocumentation Index
Fetch the complete documentation index at: https://deribit-starbase.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
OrigClOrdId.
From Release 1.3.10, it is possible to cancel orders by ClOrdID or
DeribitLabel, and OrigClOrdId is not required anymore, however canceling
orders by OrigClOrdId is noticeably faster.
IMPORTANT:
- to cancel an order by
ClOrdIDorDeribitLabel, this must be the only open order (with suchClOrdIDorDeribitLabelrespectively). To cancel many orders byDeribitLabel, useOrder MassCancel Request(q). - when possible it is recommended to use faster
OrigClOrdId
Arguments
| Tag | Name | Type | Required | Comments |
|---|---|---|---|---|
| 11 | ClOrdID | String | Required if OrigClOrdId, DeribitLabel are absent | Original order identifier assigned by the user. There must be the only open order with such ClOrdID |
| 41 | OrigClOrdId | String | Required if DeribitLabel, ClOrdID are absent | Order identifier assigned by Deribit over the user one |
| 100010 | DeribitLabel | String | Required if OrigClOrdId, ClOrdID are absent | A custom label for your order, max 64 grapheme clusters. There must be the only open order with this DeribitLabel otherwise use Order MassCancel Request(q). This tag operates on grapheme clusters. A grapheme cluster is a user-perceived character, which can be represented by several unicode codepoints. Please refer to Unicode specification for more details about the grapheme clusters |
| 55 | Symbol | String | Required if OrigClOrdId is absent | Instrument symbol, e.g., BTC-1JAN16 |
| 15 | Currency | String | No | To speed up the search of the order by DeribitLabel or ClOrdID |