UnderlyingOptAttribute (FIX tag 317)
UnderlyingOptAttribute (tag 317) is a char field defined in FIX 4.4 and FIX 4.2. It appears in 59 message types, always optionally.
At a glance
- Tag
- 317
- Name
- UnderlyingOptAttribute
- Datatype
- char
- Dialects
- FIX 4.4 and FIX 4.2
- Messages
- 59
What the specification says
FIX 4.4
Underlying security’s OptAttribute. See OptAttribute (206) field for description
FIX 4.2
Underlying security’s OptAttribute. See OptAttribute field for description
Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.
A real message using tag 317
| Tag | Field | Wire value | Meaning |
|---|---|---|---|
| 8 | BeginString | FIX.4.4 | |
| 9 | BodyLength | 153 | |
| 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 | |
| 711 | NoUnderlyings2 entries | 2 | repeating group |
| 311 | UnderlyingSymbol | EXAMPLE | |
| 317 | UnderlyingOptAttribute | 1 | |
| 311 | UnderlyingSymbol | EXAMPLE | |
| 317 | UnderlyingOptAttribute | 1 | |
| 54 | Side | 1 | Buy |
| 60 | TransactTime | 20240101-12:00:00.000 | |
| 40 | OrdType | 1 | Market |
| 10 | CheckSum | 209 |
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.
Where tag 317 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 |
|---|---|---|---|---|
| Advertisement | 7 | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| AllocationInstruction | J | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| AllocationReport | AS | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| AssignmentReport | AW | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| CollateralAssignment | AY | Optional | — | inside UndInstrmtCollGrp › UnderlyingInstrument |
| CollateralInquiry | BB | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| CollateralInquiryAck | BG | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| CollateralReport | BA | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| CollateralRequest | AX | Optional | — | inside UndInstrmtCollGrp › UnderlyingInstrument |
| CollateralResponse | AZ | Optional | — | inside UndInstrmtCollGrp › UnderlyingInstrument |
| Confirmation | AK | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| CrossOrderCancelReplaceRequest | t | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| CrossOrderCancelRequest | u | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| DerivativeSecurityList | AA | Optional | — | inside the UnderlyingInstrument component |
| DerivativeSecurityListRequest | z | Optional | — | inside the UnderlyingInstrument component |
| DontKnowTrade | Q | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| C | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument | |
| ExecutionReport | 8 | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| IOI | 6 | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| ListStrikePrice | m | Optional | — | inside UndInstrmtStrkPxGrp › UnderlyingInstrument |
| MarketDataIncrementalRefresh | X | Optional | — | inside MDIncGrp › UndInstrmtGrp › UnderlyingInstrument |
| MarketDataRequest | V | Optional | — | inside InstrmtMDReqGrp › UndInstrmtGrp › UnderlyingInstrument |
| MarketDataSnapshotFullRefresh | W | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| MassQuote | i | Optional | Optional | inside QuotSetGrp › UnderlyingInstrument |
| MassQuoteAcknowledgement | b | Optional | Optional | inside QuotSetAckGrp › UnderlyingInstrument |
| MultilegOrderCancelReplace | AC | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| NewOrderCross | s | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| NewOrderList | E | Optional | — | inside ListOrdGrp › UndInstrmtGrp › UnderlyingInstrument |
| NewOrderMultileg | AB | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| NewOrderSingle | D | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| News | B | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| OrderCancelReplaceRequest | G | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| OrderCancelRequest | F | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| OrderMassCancelReport | r | Optional | — | inside the UnderlyingInstrument component |
| OrderMassCancelRequest | q | Optional | — | inside the UnderlyingInstrument component |
| OrderMassStatusRequest | AF | Optional | — | inside the UnderlyingInstrument component |
| OrderStatusRequest | H | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| PositionMaintenanceReport | AM | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| PositionMaintenanceRequest | AL | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| PositionReport | AP | Optional | — | inside PosUndInstrmtGrp › UnderlyingInstrument |
| Quote | S | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| QuoteCancel | Z | Optional | — | inside QuotCxlEntriesGrp › UndInstrmtGrp › UnderlyingInstrument |
| QuoteRequest | R | Optional | — | inside QuotReqGrp › UndInstrmtGrp › UnderlyingInstrument |
| QuoteRequestReject | AG | Optional | — | inside QuotReqRjctGrp › UndInstrmtGrp › UnderlyingInstrument |
| QuoteResponse | AJ | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| QuoteStatusReport | AI | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| QuoteStatusRequest | a | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| RFQRequest | AH | Optional | — | inside RFQReqGrp › UndInstrmtGrp › UnderlyingInstrument |
| RequestForPositions | AN | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| RequestForPositionsAck | AO | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| SecurityDefinition | d | Optional | Optional | inside UndInstrmtGrp › UnderlyingInstrument |
| SecurityDefinitionRequest | c | Optional | Optional | inside UndInstrmtGrp › UnderlyingInstrument |
| SecurityList | y | Optional | — | inside SecListGrp › UndInstrmtGrp › UnderlyingInstrument |
| SecurityListRequest | x | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| SecurityStatus | f | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| SecurityStatusRequest | e | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| TradeCaptureReport | AE | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| TradeCaptureReportRequest | AD | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
| TradeCaptureReportRequestAck | AQ | Optional | — | inside UndInstrmtGrp › UnderlyingInstrument |
Wire format
A single character. Most char fields are enumerated, so the value is one of a fixed set rather than arbitrary text. @boarteam/fix keeps the value as a string and, for enumerated fields, reports validate/value-not-in-enum when it is not a defined value.
Read tag 317 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 field = message.fields[317];field?.name; // "UnderlyingOptAttribute"field?.raw; // the verbatim wire stringfield?.value; // coerced to a stringOther char fields
- 327HaltReasonChar
- 285DeleteReason
- 281MDReqRejReason
- 279MDUpdateAction
- 274TickDirection
- 269MDEntryType
- 263SubscriptionRequestType
- 374BidRequestTransType
- 385MsgDirection
- 388DiscretionInst
- 219Benchmark
- 418BidTradeType
- 419BasisPxType
- 206OptAttribute
- 433ListExecInstType
- 434CxlRejResponseTo
- 442MultiLegReportingType
- 447PartyIDSource
- 468RoundingDirection
- 165SettlInstSource
- 163SettlInstTransType
- 160SettlInstMode
- 156SettlCurrFxRateCalc
- 480CancellationRights
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