> ## 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.

# Execution Report

> FIX message used to acknowledge or reject orders, and to relay order status and fill updates.

The ExecutionReport message is used to acknowledge/reject an order or changes to an order, and to relay order status and fill updates.

<Tabs>
  <Tab title="FIX Specification">
    <ParamField path="header" type="" required>
      MsgType <code>8</code>
    </ParamField>

    <ParamField path="11 - ClOrdID" type="string" required>
      Unique identifier for Order as assigned by the client. Must be `<= 36 characters`. UUIDs are recommended.
    </ParamField>

    <ParamField path="41 - OrigClordid" type="string">
      Set to the ClOrdID of the previous accepted order when responding to a Cancel or Cancel/Replace request. Required when exectype=Cancel.
    </ParamField>

    <ParamField path="37 - OrderID" type="string" required>
      Unique identifier of most recent order as assigned by Customer.
    </ParamField>

    <ParamField path="55 - Symbol" type="string" required>
      The symbol of the currency pair to place an order on in the format `BASE-QUOTE`.
    </ParamField>

    <ParamField path="54 - Side" type="integer" required>
      Side of the order.

      <ul>
        <b>Possible values: </b>
        <li><code>1</code> : Buy</li>
        <li><code>2</code> : Sell</li>
      </ul>
    </ParamField>

    <ParamField path="38 - OrderQty" type="float" required>
      Size of the order.
    </ParamField>

    <ParamField path="44 - Price" type="float">
      Price of the order. Required when OrderType=Limit/LimitAllIn.
    </ParamField>

    <ParamField path="60 - TransactTime" type="string">
      Time of event expressed in UTC. Format: YYYYMMDD-HH:MM:SS.uuu
    </ParamField>

    <ParamField path="17 - ExecId" type="string" required>
      Unique identifier of most recent order as assigned by Customer.
    </ParamField>

    <ParamField path="527 - SecondaryExecID" type="integer">
      Sequence number for every ExecType=Trade. This ID unique by pair. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="150 - ExecType" type="char" required>
      Describes the type of order event and determines the set of fields in the message.

      <ul>
        <b>Possible Values:</b>
        <li><code>0</code> : New</li>
        <li><code>3</code> : Done for day</li>
        <li><code>4</code> : Canceled</li>
        <li><code>5</code> : Replaced</li>
        <li><code>6</code> : Pending Cancel</li>
        <li><code>8</code> : Rejected</li>
        <li><code>A</code> : Pending New</li>
        <li><code>E</code> : Pending Replace</li>
        <li><code>F</code> : Trade</li>
      </ul>
    </ParamField>

    <ParamField path="59 - TimeInForce" type="string" required>
      <ul>
        <b>Possible Values:</b>
        <li><code>1</code> : GTC (Good till canceled)</li>
        <li><code>3</code> : IOC (Immediate or Cancel)</li>
        <li><code>4</code> : Fill Or Kill (FOK)</li>
      </ul>
    </ParamField>

    <ParamField path="40 - OrdType" type="char" required>
      The execution model of the order.

      <ul>
        <b>Possible values: </b>
        <li><code>1</code> : market</li>
        <li><code>2</code> : Limit</li>
      </ul>
    </ParamField>

    <ParamField path="39 - OrdStatus" type="char" required>
      Describes the status of the order.

      <ul>
        <b>Possible Values:</b>
        <li><code>0</code> : New</li>
        <li><code>1</code> : Partially Filled</li>
        <li><code>2</code> : Filled</li>
        <li><code>3</code> : Done for day</li>
        <li><code>4</code> : Canceled</li>
        <li><code>5</code> : Replaced</li>
        <li><code>6</code> : Pending Cancel</li>
        <li><code>8</code> : Rejected</li>
        <li><code>A</code> : Pending New</li>
        <li><code>E</code> : Pending Replace</li>
      </ul>
    </ParamField>

    <ParamField path="151 - LeavesQty" type="float" required>
      Quantity open for further execution. If OrdStatus(39) is 4 (Canceled), 3 (Done For Day), or 8 (Rejected) then LeavesQty(151) could be 0, otherwise LeavesQty(151) = OrderQty(38) - CumQty(14).
    </ParamField>

    <ParamField path="14 - CumQty" type="float" required>
      Currently executed quantity for chain of orders.
    </ParamField>

    <ParamField path="6 - AvgPx" type="float">
      Calculated average price of all fills on this order. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="103 - OrdRejReason" type="char">
      Reason for rejection. Required when ExecType=Rejected.

      <ul>
        <b>Possible values: </b>
        <li><code>0</code> : Broker / exchange option</li>
        <li><code>1</code> : Unknown symbol</li>
        <li><code>2</code> : Exchange closed</li>
        <li><code>3</code> : Order exceeds limit</li>
        <li><code>5</code> : Unknown order</li>
        <li><code>6</code> : Duplicate of an existing order</li>
        <li><code>7</code> : Duplicate of a verbally communicated order</li>
        <li><code>8</code> : Stale order</li>
      </ul>
    </ParamField>

    <ParamField path="31 - LastPx" type="float">
      Price of the last trade. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="32 - LastQty" type="float">
      Quantity bought or sold on the last trade. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="381 - GrossTradeAmt" type="float">
      Last amount traded (i.e. quantity \* price) expressed in units of counter currency. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="4015 - CumAmt" type="float">
      Cumulative amount traded (i.e. quantity \* price) expressed in units of counter currency. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="4016 - CumFee" type="float">
      Cumulative fee amount expressed in units of fee currency. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="4033 - LastFee" type="float">
      Fee amount for the last trade expressed in units of fee currency. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="4034 - LastFeeCurrency" type="string">
      Currency of the fee for the last trade. Required when ExecType=Trade.
    </ParamField>

    <ParamField path="20030 - CancelOnDisconnect" type="char">
      Whether or not the order is canceled on disconnect. Required when ExecType=Trade.

      <ul>
        <b>Possible values: </b>
        <li><code>N</code> : No</li>
        <li><code>Y</code> : Yes</li>
      </ul>
    </ParamField>

    <ParamField path="20032 - DecisionStatus" type="char">
      The current decision status of the order. Required when ExecType=Trade. Default: A

      <ul>
        <b>Possible values: </b>
        <li><code>A</code> : Active</li>
        <li><code>P</code> : Paused</li>
        <li><code>U</code> : Pending Pause</li>
        <li><code>R</code> : Pending Resume</li>
        <li><code>W</code> : Waiting for StartTime</li>
        <li><code>T</code> : Waiting for Trigger</li>
      </ul>

      Paused or staged orders can be edited or resumed from the Customer UI. Pending statuses are intermediate states.
    </ParamField>

    <ParamField path="58 - Text" type="string">
      Full description for Cancellations or status of the order.
    </ParamField>

    <ParamField path="trailer" type="" required />
  </Tab>

  <Tab title="Example">
    ```text theme={null}
    8=FIX.4.4|9=366|35=8|34=2|49={{ Customer }}|52=20220915-18:30:01.393|56=CUSTOMER|1=default|6=0|11=id-220912164936074-1152|14=0|17=ba22dbe1-cb33-4fcb-9613-921006afdebd|37=94869628-b862-43e4-bd2d-be85e4295bd4|38=1.00000000|39=8|40=2|44=1630.123|54=2|55=ETH-USD|58=Unable to submit market order - please try again later.|59=1|60=20220915-14:30:01.000|103=0|150=8|151=1.00000000|20030=N|20032=A|10=205|
    ```
  </Tab>
</Tabs>
