UnderlyingPutOrCall (FIX tag 315)
UnderlyingPutOrCall (tag 315) is an int field defined in FIX 4.4 and FIX 4.2. It appears in 59 message types, always optionally.
At a glance
- Tag
- 315
- Name
- UnderlyingPutOrCall
- Datatype
- int
- Dialects
- FIX 4.4 and FIX 4.2
- Messages
- 59
What the specification says
Underlying security’s PutOrCall. See PutOrCall field for description
Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.
A real message using tag 315
| 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 | |
| 315 | UnderlyingPutOrCall | 1 | |
| 311 | UnderlyingSymbol | EXAMPLE | |
| 315 | UnderlyingPutOrCall | 1 | |
| 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.
Where tag 315 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 whole number, optionally signed. Leading zeros are legal on the wire and are preserved in the raw value. @boarteam/fix parses the value as a number and reports parse/invalid-int when it does not lex as one; the raw string is kept either way.
Read tag 315 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[315];field?.name; // "UnderlyingPutOrCall"field?.raw; // the verbatim wire stringfield?.value; // coerced to a numberOther int fields
- 321SecurityRequestType
- 323SecurityResponseType
- 304TotNoQuoteEntries
- 326SecurityTradingStatus
- 303QuoteRequestType
- 301QuoteResponseLevel
- 300QuoteRejectReason
- 298QuoteCancelType
- 297QuoteStatus
- 334Adjustment
- 338TradSesMethod
- 339TradSesMode
- 290MDEntryPositionNo
- 340TradSesStatus
- 287SellerDays
- 346NumberOfOrders
- 265MDUpdateType
- 264MarketDepth
- 368QuoteEntryRejectReason
- 371RefTagID
- 373SessionRejectReason
- 378ExecRestatementReason
- 251LegRepurchaseTerm
- 380BusinessRejectReason
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