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

# New Order Single

> Submit a new order to the Kraken order book via FIX.

To submit a new order, the client needs to send a NewOrderSingle message. All orders are submitted from the client's perspective to Kraken exchange to place bid/offer on the Kraken Order book.
A range of order types, Time-In-Force (TIF) and order flags can be specified by the parameters below.

The supported order types are:

* `market`: The full order quantity executes immediately at the best available price in the order book.
* `limit`: The full order quantity is placed immediately with a limit price restriction to only trade at this price or better.
* `limitallin`: The limit order price and quantity includes the fees.

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

    <ParamField path="1 - Account" type="string">
      The specific account for this order. Required if multiple accounts are enabled.
    </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="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="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>
        <li><code>A</code> : LimitAllIn</li>
      </ul>
    </ParamField>

    <ParamField path="38 - OrderQty" type="float" required>
      Order quantity in terms of the base asset.
    </ParamField>

    <ParamField path="15 - Currency" type="string">
      The currency the quantity is specified in. If not
      specified, defaults to the base currency for the
      symbol.
    </ParamField>

    <ParamField path="44 - Price" type="float">
      Limit price of the order to be placed in the Order Book. Required when OrderType=Limit/LimitAllIn.
    </ParamField>

    <ParamField path="59 - TimeInForce" type="string" required>
      Specifies how long the order remains in effect.

      <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="60 - TransactTime" type="string" required>
      Business timestamp for this request. Format: YYYYMMDD-HH:MM:SS.uuu
    </ParamField>

    <ParamField path="126 - ExpireTime" type="string">
      Optional expiration time for the order. Only valid on orders with TimeInForce=1 (GTC). Required when TimeinForce=GTD. Format: YYYYMMDD-HH:MM:SS
    </ParamField>

    <ParamField path="168 - EffectiveTime" type="string">
      Time at which this order will activate and begin sending orders to the market. Format: YYYYMMDD-HH:MM:SS.uuu
    </ParamField>

    <ParamField path="847 - TargetStrategy" type="string">
      Allows Specifying an Order Strategy Type.

      <ul>
        <b>Possible values:</b>
        <li><code>StopLimit</code> : This strategy will only place the order once the specified stop price has been met. For a Buy StopLimit order, the stop price must be *above* the current market price. For a Sell StopLimit order, the stop price must be *below* the current market price. </li>
        <li><code>TakeProfitLimit</code> : This strategy will only place the order once the specified take profit price has been met. For a Buy TakeProfitLimit order, the take profit price must be *below* the current market price. For a Sell TakeProfitLimit order, the take profit price must be *above* the current market price.</li>
      </ul>
    </ParamField>

    <ParamField path="957 - NoStrategyParams" type="integer">
      The number of strategy parameter repeating groups
    </ParamField>

    <ParamField path="958 - StrategyParameterName" type="string">
      The name of the StrategyParameter being set
    </ParamField>

    <ParamField path="960 - StrategyParameterValue" type="string">
      The value for the StrategyParameter being set
    </ParamField>

    <ParamField path="20030 - CancelOnDisconnect" type="string">
      Whether or not this order should be canceled when this session is disconnected. Possible values: Y, N. Default: Y
    </ParamField>

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

  <Tab title="Example">
    ```text theme={null}
    8=FIX.4.4|9=147|35=D|34=2|49=CUSTOMER|52=20220915-18:30:01.335|56={{ Customer }}|11=id-220912164936074-1152|38=1|40=2|44=1630.123|54=2|55=ETH-USD|59=1|60=20220915-14:30:01|10=228|
    ```
  </Tab>
</Tabs>
