> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kraken.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Order Cancel Request

> Cancel a single working order

<div className="api-banner">
  <span className="api-protocol fix">FIX</span>
  <span className="api-detail">session: trading</span>
  <span className="api-tag">35=F</span>
</div>

Cancels one working order. At least one of OrderID (37) or OrigClOrdID (41) must identify the target; where both are present, OrderID wins. ClOrdID (11) is the identifier of the cancel request itself. On US Perps the order is looked up among the orders cached for this SenderCompID, earlier connections included, not only the orders of the current session, and Side and Symbol (or InstrumentID) must match the order. Success returns an Execution Report with OrdStatus=4. A cancel that Kraken will not act on is answered with an OrderCancelReject (35=9) or, where that is not enabled, a BusinessMessageReject (35=j); a field-level error is answered with a Reject (35=3). Clients should handle all three until the production setting is confirmed.

<Note>
  **Cancel: venue differences**

  | | US Perps | Spot | Futures |
  | :- | :- | :- | :- |
  | Which orders a single cancel reaches | Any order cached for this SenderCompID, earlier connections included; Side and Symbol or InstrumentID must match | Same cache scope; no Side or Symbol match rule | Same as Spot |
  | Cancel business reject | `35=9` (enabled in UAT; production to be confirmed) | `35=j` | `35=j` |
</Note>

**Direction:** Client → Kraken

***

<ResponseField name="header" type="" required>35=`F`</ResponseField>

<ResponseField name="41 - OrigClOrdID" type="string">
  ClOrdID of the previous action on the order. On a cancel or amend it identifies the order being acted on; if OrderID is also present, OrderID takes precedence. Optional on this message: Kraken relaxes the FIX 4.4 requirement so a client may cancel by OrderID alone.

  <span className="field-attr">Required:</span> Conditional
</ResponseField>

<ResponseField name="37 - OrderID" type="string">
  Exchange-assigned order identifier generated by Kraken; the value to quote back on cancels, amends and status requests.

  **Format:** Assigned by Kraken; quote it back on cancels, amends and status requests.

  <span className="field-attr">Required:</span> Conditional
</ResponseField>

<ResponseField name="11 - ClOrdID" type="string" required>
  Client-assigned identifier of the cancel request. On US Perps it must be a positive integer of at most 19 digits: use an ever-increasing number, for example a microsecond timestamp. See [New Order Single](/exchange/api-reference/unified-fix-v2/nos) for how invalid values are rejected.

  **Format:** Positive integer, up to 19 digits, e.g. a microsecond timestamp.
</ResponseField>

<ResponseField name="1 - Account" type="string">
  Numeric end-client id of the end client the order belongs to. Optional on this message and not used: the end client is taken from the original order.

  **Format:** Non-zero numeric end-client id.
</ResponseField>

<ResponseField name="55 - Symbol" type="string">
  Perpetual futures contract, in the venue symbol form. Ten contracts are listed at launch. Either Symbol or InstrumentID must be sent. Must match the instrument of the order being cancelled. Ignored when InstrumentID is also sent: the instrument is then recognised from InstrumentID.

  **Format:** Venue symbol.

  <span className="field-attr">Required:</span> Conditional
</ResponseField>

<ResponseField name="48 - InstrumentID" type="string">
  Identifier of the instrument within the identification scheme named by InstrumentIDSource. Either Symbol or InstrumentID must be sent.\
  Where both Symbol and InstrumentID are sent, InstrumentID is what the instrument is recognised from and Symbol is ignored.

  **Format:** Venue instrument identifier. Takes precedence over Symbol when both are sent.

  <span className="field-attr">Required:</span> Conditional
</ResponseField>

<ResponseField name="22 - InstrumentIDSource" type="string">
  Identification scheme that InstrumentID is expressed in.

  **Possible values:**

  * `8` : Exchange symbol.
</ResponseField>

<ResponseField name="54 - Side" type="char" required>
  Side of the order. Must match the side of the order being cancelled.

  **Possible values:**

  * `1` : Buy.
  * `2` : Sell.
</ResponseField>

<ResponseField name="60 - TransactTime" type="UTCTimestamp" required>
  Time of the business event in UTC, formatted YYYYMMDD-HH:MM:SS.uuu.

  **Format:** UTC timestamp, YYYYMMDD-HH:MM:SS.uuu
</ResponseField>

<ResponseField name="trailer" type="" required />
