ExecInst (FIX tag 18)
ExecInst (tag 18) is a MultipleValueString field defined in FIX 4.4 and FIX 4.2. It appears in 11 message types, always optionally. It is an enumerated field with 40 defined values.
At a glance
- Tag
- 18
- Name
- ExecInst
- Datatype
- MultipleValueString (String)
- Dialects
- FIX 4.4 and FIX 4.2
- Messages
- 11
- Valid values
- 40
What the specification says
Instructions for order handling on exchange trading floor. If more than one instruction is applicable to an order, this field can contain multiple instructions separated by space.
Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.
A real message using tag 18
| Tag | Field | Wire value | Meaning |
|---|---|---|---|
| 8 | BeginString | FIX.4.4 | |
| 9 | BodyLength | 116 | |
| 35 | MsgType | D | Order – Single |
| 49 | SenderCompID | BOARTEAM | |
| 56 | TargetCompID | COUNTERPARTY | |
| 34 | MsgSeqNum | 2 | |
| 52 | SendingTime | 20240101-12:00:00.000 | |
| 11 | ClOrdID | ORD-10042 | |
| 18 | ExecInst | 1 | Not held |
| 54 | Side | 1 | Buy |
| 60 | TransactTime | 20240101-12:00:00.000 | |
| 40 | OrdType | 1 | Market |
| 10 | CheckSum | 205 |
Shown with | separators for readability. On the wire FIX uses SOH (0x01), an invisible control byte — and because BodyLength and CheckSum are computed over the actual bytes, the two forms have different checksums. Both are valid and both decode here.
Generated from the FIX 4.4 dictionary and verified at build time: it parses and validates with no issues. Open the decoder to try your own message.
Valid values
A value outside this list is not a parse error — the message still decodes — but validate() reports it as validate/value-not-in-enum.
| Value | Meaning | Symbolic name | Dialects |
|---|---|---|---|
| 1 | Not held | NOT_HELD / NotHeld | FIX 4.4, FIX 4.2 |
| 2 | Work | WORK / Work | FIX 4.4, FIX 4.2 |
| 3 | Go along | GO_ALONG / GoAlong | FIX 4.4, FIX 4.2 |
| 4 | Over the day | OVER_THE_DAY / OverTheDay | FIX 4.4, FIX 4.2 |
| 5 | Held | HELD / Held | FIX 4.4, FIX 4.2 |
| 6 | Participate don't initiate | PARTICIPATE_DONT_INITIATE / ParticipateDoNotInitiate | FIX 4.4, FIX 4.2 |
| 7 | Strict scale | STRICT_SCALE / StrictScale | FIX 4.4, FIX 4.2 |
| 8 | Try to scale | TRY_TO_SCALE / TryToScale | FIX 4.4, FIX 4.2 |
| 9 | Stay on bidside | STAY_ON_BIDSIDE / StayOnBidSide | FIX 4.4, FIX 4.2 |
| 0 | Stay on offerside | STAY_ON_OFFERSIDE / StayOnOfferSide | FIX 4.4, FIX 4.2 |
| A | No cross (cross is forbidden) | NO_CROSS / NoCross | FIX 4.4, FIX 4.2 |
| B | OK to cross | OK_TO_CROSS / OKToCross | FIX 4.4, FIX 4.2 |
| C | Call first | CALL_FIRST / CallFirst | FIX 4.4, FIX 4.2 |
| D | Percent of volume "(indicates that the sender does not want to be all the volume on the floor vs. a specific percentage)" | PERCENT_OF_VOLUME / PercentOfVolume | FIX 4.4, FIX 4.2 |
| E | Do not increase - DNI | DO_NOT_INCREASE / DoNotIncrease | FIX 4.4, FIX 4.2 |
| F | Do not reduce - DNR | DO_NOT_REDUCE / DoNotReduce | FIX 4.4, FIX 4.2 |
| G | All or none - AON | ALL_OR_NONE / AllOrNone | FIX 4.4, FIX 4.2 |
| H | Reinstate on System Failure (mutually exclusive with Q) | REINSTATE_ON_SYSTEM_FAILURE | FIX 4.4 |
| I | Institutions only | INSTITUTIONS_ONLY / InstitutionsOnly | FIX 4.4, FIX 4.2 |
| J | Reinstate on Trading Halt (mutually exclusive with K) | REINSTATE_ON_TRADING_HALT | FIX 4.4 |
| K | Cancel on Trading Halt (mutually exclusive with L) | CANCEL_ON_TRADING_HALT | FIX 4.4 |
| L | Last peg (last sale) | LAST_PEG / LastPeg | FIX 4.4, FIX 4.2 |
| M | Mid-price peg (midprice of inside quote) | MID_PRICE_PEG / MidPricePeg | FIX 4.4, FIX 4.2 |
| N | Non-negotiable | NON_NEGOTIABLE / NonNegotiable | FIX 4.4, FIX 4.2 |
| O | Opening peg | OPENING_PEG / OpeningPeg | FIX 4.4, FIX 4.2 |
| P | Market peg | MARKET_PEG / MarketPeg | FIX 4.4, FIX 4.2 |
| Q | Cancel on System Failure (mutually exclusive with H) | CANCEL_ON_SYSTEM_FAILURE | FIX 4.4 |
| R | Primary peg (primary market - buy at bid/sell at offer) | PRIMARY_PEG / PrimaryPeg | FIX 4.4, FIX 4.2 |
| S | Suspend | SUSPEND / Suspend | FIX 4.4, FIX 4.2 |
| U | Customer Display Instruction (Rule11Ac1-1/4) | CUSTOMER_DISPLAY_INSTRUCTION / CustomerDisplayInstruction | FIX 4.4, FIX 4.2 |
| V | Netting (for Forex) | NETTING / Netting | FIX 4.4, FIX 4.2 |
| W | Peg to VWAP | PEG_TO_VWAP / PegToVWAP | FIX 4.4, FIX 4.2 |
| X | Trade Along | TRADE_ALONG | FIX 4.4 |
| Y | Try to Stop | TRY_TO_STOP | FIX 4.4 |
| Z | Cancel if Not Best | CANCEL_IF_NOT_BEST | FIX 4.4 |
| a | Trailing Stop Peg | TRAILING_STOP_PEG | FIX 4.4 |
| b | Strict Limit (No Price Improvement) | STRICT_LIMIT | FIX 4.4 |
| c | Ignore Price Validity Checks | IGNORE_PRICE_VALIDITY_CHECKS | FIX 4.4 |
| d | Peg to Limit Price | PEG_TO_LIMIT_PRICE | FIX 4.4 |
| e | Work to Target Strategy | WORK_TO_TARGET_STRATEGY | FIX 4.4 |
| T | Fixed Peg to Local best bid or offer at time of order | FixedPegToLocalBestBidOrOfferAtTimeOfOrder | FIX 4.2 |
Where tag 18 appears
Requiredness is a property of the message, not of the field: the same tag can be optional in one message and conditionally required in another.
| Message | MsgType | FIX 4.4 | FIX 4.2 | Where in the message |
|---|---|---|---|---|
| CrossOrderCancelReplaceRequest | t | Optional | — | directly on the message body |
| ExecutionReport | 8 | Optional | Optional | directly on the message body |
| MarketDataIncrementalRefresh | X | Optional | Optional | inside the MDIncGrp component |
| MarketDataSnapshotFullRefresh | W | Optional | Optional | inside the MDFullGrp component |
| MultilegOrderCancelReplace | AC | Optional | — | directly on the message body |
| NewOrderCross | s | Optional | — | directly on the message body |
| NewOrderList | E | Optional | Optional | inside the ListOrdGrp component |
| NewOrderMultileg | AB | Optional | — | directly on the message body |
| NewOrderSingle | D | Optional | Optional | directly on the message body |
| OrderCancelReplaceRequest | G | Optional | Optional | directly on the message body |
| TradeCaptureReport | AE | Optional | — | inside the TrdCapRptSideGrp component |
Wire format
Several values in one field, separated by spaces. Decoders return an array. @boarteam/fix splits the value on its delimiter and returns an array of strings.
Read tag 18 in TypeScript
import { createFixEngine } from "@boarteam/fix";import { dictionary } from "@boarteam/fix-dict-fix44";const fix = createFixEngine(dictionary);const { message, issues } = fix.parse(raw);const execInst = message.fields[18]?.raw;// e.g. "1" — Not held// The dictionary also carries the labels:const label = fix.dictionary .fieldByTag(18) ?.enumValues?.find((e) => e.value === execInst) ?.description;Other MultipleValueString fields
Decode this in your own code
The same engine that produced the decoded example above is an Apache-2.0 npm package with zero runtime dependencies. It runs in Node and in the browser, and parse() returns problems as data instead of throwing.
npm i @boarteam/fix @boarteam/fix-dict-fix44