Skip to main content
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 as 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 ClOrdID or DeribitLabel, this must be the only open order (with such ClOrdID or DeribitLabel respectively). To cancel many orders by DeribitLabel, use Order MassCancel Request(q).
  • when possible it is recommended to use faster OrigClOrdId

Arguments

TagNameTypeRequiredComments
11ClOrdIDStringRequired if OrigClOrdId, DeribitLabel are absentOriginal order identifier assigned by the user. There must be the only open order with such ClOrdID
41OrigClOrdIdStringRequired if DeribitLabel, ClOrdID are absentOrder identifier assigned by Deribit over the user one
100010DeribitLabelStringRequired if OrigClOrdId, ClOrdID are absentA 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
55SymbolStringRequired if OrigClOrdId is absentInstrument symbol, e.g., BTC-1JAN16
15CurrencyStringNoTo speed up the search of the order by DeribitLabel or ClOrdID

Response on failure