InstrumentPartyRole (FIX tag 1051)
InstrumentPartyRole (tag 1051) is an int field defined in FIX 5.0 SP2. It appears in 72 message types, always optionally.
At a glance
- Tag
- 1051
- Name
- InstrumentPartyRole
- Datatype
- int
- Dialects
- FIX 5.0 SP2
- Messages
- 72
What the specification says
PartyRole value within an instrument partyepeating group.
Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.
A real message using tag 1051
| Tag | Field | Wire value | Meaning |
|---|---|---|---|
| 8 | BeginString | FIXT.1.1 | |
| 9 | BodyLength | 158 | |
| 35 | MsgType | D | NewOrderSingle |
| 49 | SenderCompID | BOARTEAM | |
| 56 | TargetCompID | COUNTERPARTY | |
| 34 | MsgSeqNum | 2 | |
| 52 | SendingTime | 20240101-12:00:00.000 | |
| 11 | ClOrdID | ORD-10042 | |
| 1018 | NoInstrumentParties2 entries | 2 | repeating group |
| 1019 | InstrumentPartyID | EXAMPLE | |
| 1051 | InstrumentPartyRole | 1 | |
| 1019 | InstrumentPartyID | EXAMPLE | |
| 1051 | InstrumentPartyRole | 1 | |
| 54 | Side | 1 | Buy |
| 60 | TransactTime | 20240101-12:00:00.000 | |
| 40 | OrdType | 1 | Market |
| 10 | CheckSum | 025 |
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 5.0 SP2 dictionary and verified at build time: it parses and validates with no issues. Open the decoder to try your own message.
Where tag 1051 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 | Requiredness | Where in the message |
|---|---|---|---|
| AdjustedPositionReport | BL | Optional | inside InstrmtGrp › Instrument › InstrumentParties |
| Advertisement | 7 | Optional | inside Instrument › InstrumentParties |
| AllocationInstruction | J | Optional | inside Instrument › InstrumentParties |
| AllocationInstructionAlert | BM | Optional | inside Instrument › InstrumentParties |
| AllocationReport | AS | Optional | inside Instrument › InstrumentParties |
| AssignmentReport | AW | Optional | inside Instrument › InstrumentParties |
| CollateralAssignment | AY | Optional | inside Instrument › InstrumentParties |
| CollateralInquiry | BB | Optional | inside Instrument › InstrumentParties |
| CollateralInquiryAck | BG | Optional | inside Instrument › InstrumentParties |
| CollateralReport | BA | Optional | inside Instrument › InstrumentParties |
| CollateralRequest | AX | Optional | inside Instrument › InstrumentParties |
| CollateralResponse | AZ | Optional | inside Instrument › InstrumentParties |
| Confirmation | AK | Optional | inside Instrument › InstrumentParties |
| ContraryIntentionReport | BO | Optional | inside Instrument › InstrumentParties |
| CrossOrderCancelReplaceRequest | t | Optional | inside Instrument › InstrumentParties |
| CrossOrderCancelRequest | u | Optional | inside Instrument › InstrumentParties |
| DerivativeSecurityList | AA | Optional | inside RelSymDerivSecGrp › Instrument › InstrumentParties |
| DerivativeSecurityListUpdateReport | BR | Optional | inside RelSymDerivSecUpdGrp › Instrument › InstrumentParties |
| DontKnowTrade | Q | Optional | inside Instrument › InstrumentParties |
| C | Optional | inside InstrmtGrp › Instrument › InstrumentParties | |
| ExecutionAcknowledgement | BN | Optional | inside Instrument › InstrumentParties |
| ExecutionReport | 8 | Optional | inside Instrument › InstrumentParties |
| IOI | 6 | Optional | inside Instrument › InstrumentParties |
| ListStrikePrice | m | Optional | inside InstrmtStrkPxGrp › Instrument › InstrumentParties |
| MarketDataIncrementalRefresh | X | Optional | inside MDIncGrp › Instrument › InstrumentParties |
| MarketDataRequest | V | Optional | inside InstrmtMDReqGrp › Instrument › InstrumentParties |
| MarketDataSnapshotFullRefresh | W | Optional | inside Instrument › InstrumentParties |
| MassQuote | i | Optional | inside QuotSetGrp › QuotEntryGrp › Instrument › InstrumentParties |
| MassQuoteAcknowledgement | b | Optional | inside QuotSetAckGrp › QuotEntryAckGrp › Instrument › InstrumentParties |
| MultilegOrderCancelReplace | AC | Optional | inside Instrument › InstrumentParties |
| NewOrderCross | s | Optional | inside Instrument › InstrumentParties |
| NewOrderList | E | Optional | inside ListOrdGrp › Instrument › InstrumentParties |
| NewOrderMultileg | AB | Optional | inside Instrument › InstrumentParties |
| NewOrderSingle | D | Optional | inside Instrument › InstrumentParties |
| News | B | Optional | inside InstrmtGrp › Instrument › InstrumentParties |
| OrderCancelReplaceRequest | G | Optional | inside Instrument › InstrumentParties |
| OrderCancelRequest | F | Optional | inside Instrument › InstrumentParties |
| OrderMassActionReport | BZ | Optional | inside Instrument › InstrumentParties |
| OrderMassActionRequest | CA | Optional | inside Instrument › InstrumentParties |
| OrderMassCancelReport | r | Optional | inside Instrument › InstrumentParties |
| OrderMassCancelRequest | q | Optional | inside Instrument › InstrumentParties |
| OrderMassStatusRequest | AF | Optional | inside Instrument › InstrumentParties |
| OrderStatusRequest | H | Optional | inside Instrument › InstrumentParties |
| PositionMaintenanceReport | AM | Optional | inside Instrument › InstrumentParties |
| PositionMaintenanceRequest | AL | Optional | inside Instrument › InstrumentParties |
| PositionReport | AP | Optional | inside Instrument › InstrumentParties |
| Quote | S | Optional | inside Instrument › InstrumentParties |
| QuoteCancel | Z | Optional | inside QuotCxlEntriesGrp › Instrument › InstrumentParties |
| QuoteRequest | R | Optional | inside QuotReqGrp › Instrument › InstrumentParties |
| QuoteRequestReject | AG | Optional | inside QuotReqRjctGrp › Instrument › InstrumentParties |
| QuoteResponse | AJ | Optional | inside Instrument › InstrumentParties |
| QuoteStatusReport | AI | Optional | inside Instrument › InstrumentParties |
| QuoteStatusRequest | a | Optional | inside Instrument › InstrumentParties |
| RFQRequest | AH | Optional | inside RFQReqGrp › Instrument › InstrumentParties |
| RequestForPositions | AN | Optional | inside Instrument › InstrumentParties |
| RequestForPositionsAck | AO | Optional | inside Instrument › InstrumentParties |
| SecurityDefinition | d | Optional | inside Instrument › InstrumentParties |
| SecurityDefinitionRequest | c | Optional | inside Instrument › InstrumentParties |
| SecurityDefinitionUpdateReport | BP | Optional | inside Instrument › InstrumentParties |
| SecurityList | y | Optional | inside SecListGrp › Instrument › InstrumentParties |
| SecurityListRequest | x | Optional | inside Instrument › InstrumentParties |
| SecurityListUpdateReport | BK | Optional | inside SecLstUpdRelSymGrp › Instrument › InstrumentParties |
| SecurityStatus | f | Optional | inside Instrument › InstrumentParties |
| SecurityStatusRequest | e | Optional | inside Instrument › InstrumentParties |
| SettlementObligationReport | BQ | Optional | inside SettlObligationInstructions › Instrument › InstrumentParties |
| StreamAssignmentReport | CD | Optional | inside StrmAsgnRptGrp › StrmAsgnRptInstrmtGrp › Instrument › InstrumentParties |
| StreamAssignmentRequest | CC | Optional | inside StrmAsgnReqGrp › StrmAsgnReqInstrmtGrp › Instrument › InstrumentParties |
| TradeCaptureReport | AE | Optional | inside Instrument › InstrumentParties |
| TradeCaptureReportAck | AR | Optional | inside Instrument › InstrumentParties |
| TradeCaptureReportRequest | AD | Optional | inside Instrument › InstrumentParties |
| TradeCaptureReportRequestAck | AQ | Optional | inside Instrument › InstrumentParties |
| TradingSessionStatus | h | Optional | inside Instrument › InstrumentParties |
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 1051 in TypeScript
import { createFixEngine } from "@boarteam/fix";import { dictionary } from "@boarteam/fix-dict-fix50sp2";const fix = createFixEngine(dictionary);const { message, issues } = fix.parse(raw);const field = message.fields[1051];field?.name; // "InstrumentPartyRole"field?.raw; // the verbatim wire stringfield?.value; // coerced to a numberOther int fields
- 1054InstrumentPartySubIDType
- 1043CollApplType
- 1061UnderlyingInstrumentPartyRole
- 1064UnderlyingInstrumentPartySubIDType
- 1034DeskTypeSource
- 1032OrderHandlingInstSource
- 1070MDQuoteType
- 1024MDOriginType
- 1023MDPriceLevel
- 1021MDBookType
- 1013SideTrdRegTimestampType
- 1090MaxPriceLevels
- 1009SideLastQty
- 1008SideTrdSubTyp
- 1094PegPriceType
- 1002AllocMethod
- 992IndividualAllocType
- 1119RootPartyRole
- 982ExpirationQtyType
- 1122RootPartySubIDType
- 975UnderlyingSettlementType
- 971NTPositionLimit
- 970PositionLimit
- 964SecurityReportID
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-fix50sp2