Skip to main content

Documentation Index

Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

FIXsession: trading35=8
As soon as Kraken Trading Engine accepts the order, all order responses will be sent using the Execution Report message. This includes any fills, order status changes and confirmation of cancellation.
header
required
35=8
11 - ClOrdID
string
required
Unique identifier of the order.
41 - OrigClordid
string
ClOrdID of the previous action on this order.Condition: ExecType = Cancel
17 - ExecId
string
required
Unique identifier for each execution report message.
37 - OrderID
string
required
Unique order identifier generated by Kraken.
527 - SecondaryExecID
integer
Sequence number for every ExecType=Trade. This ID is unique by pair.Condition: ExecType = Trade
60 - TransactTime
string
Time of event expressed in UTC. Format: YYYYMMDD-HH:MM:SS.uuu
40 - OrderType
char
required
The execution model of the order. For triggered orders, after the trigger the OrderType will reflect the new execution model of the order (market or limit).Possible values:
  • 1 : market
  • 2 : Limit
  • 3 : Stop-loss
  • 4 : Stop-loss-limit
  • R : Take-profit
  • T : Take-profit-limit
  • U : Trailing-stop
  • V : Trailing-stop-limit
54 - Side
integer
required
Side of the order.Possible values:
  • 1 : Buy
  • 2 : Sell
55 - Symbol
string
required
Pair in the format BASE/QUOTE.
44 - Price
float
Limit Price of the order placed in the Order Book. This field is denominated in Quote Currency.Condition: OrderType = Limit / Stop-Loss-Limit / Take-Profit-Limit / Trailing-stop-limit
99 - StopPx
float
Stop Price for a Stop-Loss / Take-Profit / Stop-Loss-Limit or Take-Profit-Limit order. This field is denominated in Quote Currency.Condition: OrderType = Stop-Loss / Take-Profit / Stop-Loss-Limit / Trailing-stop / Trailing-stop-limit
31 - LastPx
float
Price of the trade.Condition: ExecType = Trade
6 - AvgPx
float
Avg price of all trades on the order.Condition: ExecType = Trade
1102 - TriggerPrice
float
Price that triggered for stop-loss, take-profit, stop-loss-limit, take-profit-limit, trailing_stop or trailing_stop_limit. It can be different than the StopPx.
14 - CumQty
float
required
Total quantity filled on the order so far.
32 - LastQty
float
Quantity bought/sold on last trade.Condition: ExecType = Trade
151 - LeavesQty
float
required
Quantity left on the order on the Book.
38 - OrderQty
float
required
Size of the original order.
1138 - DisplayQty
float
Iceberg qty of the original order.
150 - ExecType
char
required
Describes the type of order event and determines the set of fields in the message.Possible values:
  • 0 : New — Order has been created and is live in the engine.
  • 4 : Canceled — The order has been cancelled.
  • 5 : Replace — The order has been replaced.
  • A : Pending New — Order request has been received and validated but the order is not live yet. Possible when EffectiveTime (Tag 168) is used on the New Order.
  • C : Expired — The order has expired.
  • D : Restated — The order has changed like a trigger event.
  • F : Trade — The order has received a fill.
  • I : Order Status — In response to an Order Status Request.
39 - OrdStatus
char
required
Describes the status of the order.Possible values:
  • 0 : New — Order is live in the engine with no fills.
  • 1 : Partially Filled — Order is live in the engine with fills.
  • 2 : Filled — Order is fully filled and closed.
  • 4 : Canceled — Order is cancelled and closed.
  • 5 : Replaced — Order is Replaced successfully.
  • A : Pending New — Order is not live yet. For example when EffectiveTime is used.
  • C : Expired — Order is expired and closed.
  • E : Pending Replace — New parameter of the replace are not live yet. For example when EffectiveTime is used or a trade was in flight during the replace request.
58 - Text
string
Full description for Cancellations or status of the order.
59 - TimeInForce
string
required
Possible values:
  • 1 : GTC (Good till canceled)
  • 3 : IOC (Immediate or Cancel)
  • 4 : FOK (Fill or Kill)
  • 6 : GTD (Good till date)
136 - NoMiscFee
integer
1 where a fee is applicable or not present.
381 - GrossTradeAmt
float
Cum Cost of the Trade (CumQty × AvgPx).
118 - NetMoney
float
Cost of a Single Trade (LastQty × LastPx).
1003 - TradeID
string
Unique ID that identifies the trade at exchange.Condition: ExecType = Trade
5050 - LiquidityInd
string
Define if the trade was from a maker or taker order.Possible values:
  • 0 : Maker
  • 1 : Taker
Condition: ExecType = Trade
78 - NoAllocs
integer
Number of subaccount that are part of the order. Always 1 for the broker accounts.
378 - ExecRestatementReason
char
It can happen in some scenario that trades are not reported in time through the FIX API. In that case the FIX API will detect it and send a ExecType=Restated execution report and use ExecRestatementReason to warn the client.Possible values:
  • 3 : Repricing of Order
trailer
required
8=FIX.4.4|9=260|35=8|34=3|49=KRAKEN-TRD|56=CLIENT|52=20260407-14:32:05.122|6=0|11=1744036325000000|14=0|17=EXEC002:TRD001|37=OQNCZM-NVAVC-AVD2LO|38=0.001|39=0|40=2|44=84000|54=1|55=BTC/USD|58=buy 0.001 BTC/USD @ limit 84000|59=1|60=20260407-14:32:05.000|150=0|151=0.001|381=0|10=144|
8=FIX.4.4|9=260|35=8|34=3|49=KRAKEN-TRD|56=CLIENT|52=20260407-14:32:05.122|6=0|11=1744036325000000|14=0|17=EXEC001:TRD001|37=OQNCZM-NVAVC-AVD2LO|38=0.001|39=A|40=2|44=84000|54=1|55=BTC/USD|58=buy 0.001 BTC/USD @ limit 84000|59=1|60=20260407-14:32:05.000|150=A|151=0.001|381=0|10=177|