Friday, 20 November 2026 · Free. No paywall. No subscription.
Search The MidPoint News

Search articles, videos and sections. Press / to open, Esc to close.

FIX 4.2Field

OrdType <40>

Tag
40
Type
char · code set OrdTypeCodeSet
Pedigree
Added FIX 2.7
Versions
FIX Latest ✓ · FIX 4.4 ✓ · FIX 4.2 ✓

This page shows OrdType <40> as defined in FIX 4.2. For the current standard, see tag 40 OrdType in FIX Latest.

OrdType <40> in plain English

Summary by The MidPoint News, based on the description in the Orchestra file (quoted in full below).

OrdType gives the order type, such as market, limit, stop or stop limit. Several older values are marked deprecated in FIX Latest.

Common values

ValueNameMeaning (from the Orchestra file)
40=1MarketMarket
40=2LimitLimit
40=3StopStop
40=4StopLimitStop limitStop limit
40=DPreviouslyQuotedPreviously quotedPreviously quoted
40=EPreviouslyIndicatedPreviously indicatedPreviously indicated
40=PPeggedPegged

A selection. The full list of values is in the table further down.

Where it is used

NewOrderSingle (35=D), ExecutionReport (35=8), OrderCancelReplaceRequest (35=G), Quote (35=S), ListOrdGrp (repeating group), QuotEntryGrp (repeating group), QuotReqGrp (repeating group) . In all, 7 messages in FIX 4.2 can carry it. Full list.

Example message

8=FIX.4.2|9=153|35=D|49=BUYSIDE|56=SELLSIDE|34=215|52=20261116-08:30:00.000|11=ORD-1001|1=ACCT-01|21=1|55=AAPL|54=1|60=20261116-08:30:00.000|38=1000|40=2|44=190.50|59=0|10=128

Illustrative example, not real orders or market data. A NewOrderSingle (35=D) in FIX 4.2, shown with BeginString FIX.4.2. Instrument identifiers (such as AAPL, ISIN US0378331005, ESZ6, XNAS, XCME) are real public codes used for illustration. Order and execution IDs, accounts, prices, quantities and times are made up. Fields are separated by | here; on the wire the separator is the SOH character (ASCII 1). BodyLength (9) and CheckSum (10) are calculated for this example. Every tag and value in it is checked against the FIX 4.2 dictionary, but it is not a complete specification of the message.

Description (from the Orchestra file)

Order type.

Values (19)

ValueNameDescriptionPedigreeIn LatestIn 4.4
1 Market Market Added FIX 2.7 ✓✓
2 Limit Limit Added FIX 2.7 ✓✓
3 Stop Stop Added FIX 2.7 ✓✓
4 StopLimitStop limit Stop limit Added FIX 2.7 ✓✓
5 MarketOnCloseMarket on close Market on close Added FIX 2.7 ✓–
6 WithOrWithoutWith or without With or without Added FIX 2.7 ✓✓
7 LimitOrBetterLimit or better Limit or better Added FIX 2.7 ✓✓
8 LimitWithOrWithoutLimit with or without Limit with or without Added FIX 2.7 ✓✓
9 OnBasisOn basis On basis Added FIX 2.7 ✓✓
A OnCloseOn close On close Added FIX 2.7 ✓–
B LimitOnCloseLimit on close Limit on close Added FIX 2.7 ✓–
C ForexMarketForex - Market Forex - Market Added FIX 4.0 ✓–
D PreviouslyQuotedPreviously quoted Previously quoted Added FIX 4.0 ✓✓
E PreviouslyIndicatedPreviously indicated Previously indicated Added FIX 4.0 ✓✓
F ForexLimitForex - Limit Forex - Limit Added FIX 4.1 ✓–
G ForexSwapForex - Swap Forex - Swap Added FIX 4.1 ✓✓
H ForexPreviouslyQuotedForex - Previously Quoted Forex - Previously Quoted Added FIX 4.1 ✓–
I FunariFunari (Limit Day Order with unexecuted portion handled as Market On Close. e.g. Japan) Funari (Limit Day Order with unexecuted portion handled as Market On Close. e.g. Japan) Added FIX 4.2 ✓✓
P Pegged Pegged Added FIX 3.0 ✓✓

Used in

Messages (4)

MessageMsgTypePresence
ExecutionReport8Optional
NewOrderSingleDRequired
OrderCancelReplaceRequestGRequired
QuoteSOptional

Components and repeating groups (3)

NameKindPresence
ListOrdGrpRepeating groupOptional
QuotEntryGrpRepeating groupOptional
QuotReqGrpRepeating groupOptional
All 7 messages that can carry OrdType, including through components and groups