Order Mass Cancel Request(q) message will trigger cancellation of a group of
orders.
From Release 1.3.10, it is possible to cancel orders by DeribitLabel, and the
option 10 of the MassCancelRequestType(530) has been added.
Arguments
| Tag | Name | Type | Required | Comments |
|---|---|---|---|---|
| 11 | ClOrdID | String | Yes | Unique ID of Order Mass Cancel Request(q) as assigned by the client, max 64 grapheme clusters. 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 |
| 530 | MassCancelRequestType | int | Yes | Specifies the type of cancellation requested. Valid values:
|
| 100010 | DeribitLabel | String | if MassCancelRequestType(530)=10 | A custom label for your order, max 64 grapheme clusters. Can be used by Order Cancel Request(F) to amend the order later on. Equivalent of REST/WS cancel_by_label |
| 167 | SecurityType | String | If MassCancelRequestType(530)=5 | Describes type of security. Possible values:
|
| 55 | Symbol | String | If MassCancelRequestType(530)=1 | The symbols for which to cancel all orders |
| 15 | Currency | String | No | To cancel only certain currency if it is applicable. See Security List Request(x) |
| 9031 | FreezeQuotes | Boolean | No | Whether or not to reject incoming quotes for 1 second after cancelling |
Response
After the cancellation, the server responds with anOrder Mass Cancel Report(r).