Skip to main content
Order Cancel Reject(9) is issued by the exchange upon receipt of Order Cancel Request(F) message which cannot be executed. Alongside tags listed below, Order Cancel Reject(9) also sends corresponding tag (ClOrdID, OrigClOrdId or DeribitLabel), used by the user to cancel the order in Order Cancel Request(F) or Order Cancel/Replace Request(G).
TagNameTypeRequiredComments
52SendingTimeUTCTimestampYesTime of message transmission expressed in UTC
39OrdStatuscharNoOrder status. Present only if applicable.

Possible values:

  • 0 = New,
  • 1 = Partially filled,
  • 4 = Cancelled,
  • 6 = Pending cancel,
  • 8 = Rejected
58TextStringNoText string explaining the reason for rejection
41OrigClOrdIdStringNoOriginal order identifier assigned by the user
11ClOrdIDStringNoOrder identifier assigned by Deribit
100010DeribitLabelStringNoA custom label for your order

Response on success

The following Execution Report(8) is sent by the exchange upon successfully processing a cancel request.
TagNameTypeRequiredComments
52SendingTimeUTCTimestampYesTime of message transmission expressed in UTC
11ClOrdIDStringNoDeribit replaces this field with the own value assigned by the server (it is not the client id from New Order Single(D))
41OrigClOrdIdStringNoThe original value assigned by the client in the New Order Single(D) message
150ExecTypecharNoDescribes the specific Execution Report.

Possible values:

  • 4 = Cancelled,
  • 6 = Pending Cancel
39OrdStatuscharYesFor trade – order status.

Possible values:

  • 0 = New,
  • 1 = Partially filled,
  • 4 = Cancelled,
  • 6 = Pending cancel,
  • 8 = Rejected
58TextStringYesText string describing the result
This brief Execution Report comes faster and just indicates that the order was cancelled. Besides this brief report, the server always sends the last state of the cancelled order as another Execution Report with Text=“notification” and all details about the cancelled order.

MMP orders: if the Market Maker Protection (MMP) order was cancelled by user request the DeribitMMProtection (9008) flag is removed from the notification Execution Report. Presence of the DeribitMMProtection (9008) flag in the Execution Report with status “cancelled”

means that the order has been cancelled by Market Maker Protection (MMP).