Skip to main content

Order Status Request

Query the current status of an order with MsgType (35) set to H.

Message Format – Outgoing Message

Standard FIX Fields

TagFieldWhen to IncludeNotes
8BeginStringAlwaysStandard FIX header
9BodyLengthAlwaysStandard FIX header
35MsgTypeAlwaysH (Order Status Request)
49SenderCompIDAlwaysStandard FIX header
56TargetCompIDAlwaysStandard FIX header
34MsgSeqNumAlwaysStandard FIX header
52SendingTimeAlwaysStandard FIX header

Standard FIX Trailer

TagFieldWhen to IncludeNotes
10CheckSumAlways

Status Request Fields

Required
TagFieldWhen to IncludeNotes
11ClOrdIDAlwaysClient order ID of the order to query (a-z, A-Z, 0-9, ., -, _, $, :)
109ClientIDAlways
1AccountAlways
55SymbolAlwaysCurrency pair
54SideAlways1 = Buy, 2 = Sell

Execution Report - Order Status

The response is an Execution Report containing the order’s current state, with ExecTransType (20) set to 3 (Status).
lastShares (32) and LastPx (31) contain the price and quantity of the most recent fill. A completed order has LeavesQty (151) = 0. Note: lastShares was relabeled as lastQty in later FIX versions; the tag number and purpose are identical.

Message Format – Response Message

Standard FIX Fields

TagFieldWhen PresentNotes
8BeginStringAlwaysStandard FIX header
9BodyLengthAlwaysStandard FIX header
35MsgTypeAlways8 (Execution Report)
49SenderCompIDAlwaysStandard FIX header
56TargetCompIDAlwaysStandard FIX header
34MsgSeqNumAlwaysStandard FIX header
52SendingTimeAlwaysStandard FIX header

Standard FIX Trailer

TagFieldWhen PresentNotes
10CheckSumAlways

Order Status Fields

Always Present
TagFieldWhen PresentNotes
54SideAlways1 = Buy, 2 = Sell
150ExecTypeAlwaysCurrent execution type
32lastSharesAlwaysQuantity of the latest fill (0 if no fills)
109ClientIDAlways
1AccountAlways
31LastPxAlwaysPrice of the latest fill (0 if no fills)
151LeavesQtyAlwaysRemaining quantity (0 for completed orders)
60TransactTimeAlways
58TextAlways
20ExecTransTypeAlways3 (Status)
55SymbolAlwaysCurrency pair
17ExecIDAlways
14CumQtyAlwaysTotal filled quantity
11ClOrdIDAlways
44PriceAlways
6AvgPxAlwaysAverage fill price
41OrigClOrdIDAlways
40OrdTypeAlways1 = Market, 2 = Limit, 3 = Stop Market, 4 = Stop Limit
39OrdStatusAlwaysCurrent order status
37OrderIDAlways
381GrossTradeAmtAlwayslastShares (32) * LastPx (31)
59TimeInForceAlways1 = GTC, 3 = IOC, 4 = FOK, 6 = GTT
Conditional
TagFieldWhen PresentNotes
38OrderQtyLimit and market sell ordersBase quantity
152CashOrderQtyMarket buy ordersFiat notional
18ExecInstPost-only orders6 (Post-Only)
99StopPxStop orders onlyOnly when OrdType is 3 or 4
126ExpireTimeGTT ordersYYYYMMDD-HH:MM:SS format
Brokerage Clients
TagFieldWhen PresentNotes
5047AllocBrokerAccountIDBrokerage clientsIdentityAccountId
50SenderSubIDBrokerage clientsIdentityId
5074FundCommissionOptionBrokerage clients
5000RecipientProfileIdBrokerage clientsProfileID that receives settled currency
Optional
TagFieldWhen PresentNotes
2362SelfMatchPreventionIDIf enabledPrevents self-matching. Up to 36 characters. Requires additional permissions.