SecurityXML (FIX tag 1185)
SecurityXML (tag 1185) is a XMLData field defined in FIX 5.0 SP2. It appears in 72 message types, always optionally. It is length-prefixed — tag 1184 carries the byte count, so the value may contain the SOH separator without breaking the message.
At a glance
What the specification says
XML definition for the security.
Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.
A real message using tag 1185
| Tag | Field | Wire value | Meaning |
|---|---|---|---|
| 8 | BeginString | FIXT.1.1 | |
| 9 | BodyLength | 135 | |
| 35 | MsgType | D | NewOrderSingle |
| 49 | SenderCompID | BOARTEAM | |
| 56 | TargetCompID | COUNTERPARTY | |
| 34 | MsgSeqNum | 2 | |
| 52 | SendingTime | 20240101-12:00:00.000 | |
| 11 | ClOrdID | ORD-10042 | |
| 1184 | SecurityXMLLen | 10 | |
| 1185 | SecurityXML | <example/> | |
| 54 | Side | 1 | Buy |
| 60 | TransactTime | 20240101-12:00:00.000 | |
| 40 | OrdType | 1 | Market |
| 10 | CheckSum | 083 |
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 1185 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 › SecurityXML |
| Advertisement | 7 | Optional | inside Instrument › SecurityXML |
| AllocationInstruction | J | Optional | inside Instrument › SecurityXML |
| AllocationInstructionAlert | BM | Optional | inside Instrument › SecurityXML |
| AllocationReport | AS | Optional | inside Instrument › SecurityXML |
| AssignmentReport | AW | Optional | inside Instrument › SecurityXML |
| CollateralAssignment | AY | Optional | inside Instrument › SecurityXML |
| CollateralInquiry | BB | Optional | inside Instrument › SecurityXML |
| CollateralInquiryAck | BG | Optional | inside Instrument › SecurityXML |
| CollateralReport | BA | Optional | inside Instrument › SecurityXML |
| CollateralRequest | AX | Optional | inside Instrument › SecurityXML |
| CollateralResponse | AZ | Optional | inside Instrument › SecurityXML |
| Confirmation | AK | Optional | inside Instrument › SecurityXML |
| ContraryIntentionReport | BO | Optional | inside Instrument › SecurityXML |
| CrossOrderCancelReplaceRequest | t | Optional | inside Instrument › SecurityXML |
| CrossOrderCancelRequest | u | Optional | inside Instrument › SecurityXML |
| DerivativeSecurityList | AA | Optional | inside RelSymDerivSecGrp › Instrument › SecurityXML |
| DerivativeSecurityListUpdateReport | BR | Optional | inside RelSymDerivSecUpdGrp › Instrument › SecurityXML |
| DontKnowTrade | Q | Optional | inside Instrument › SecurityXML |
| C | Optional | inside InstrmtGrp › Instrument › SecurityXML | |
| ExecutionAcknowledgement | BN | Optional | inside Instrument › SecurityXML |
| ExecutionReport | 8 | Optional | inside Instrument › SecurityXML |
| IOI | 6 | Optional | inside Instrument › SecurityXML |
| ListStrikePrice | m | Optional | inside InstrmtStrkPxGrp › Instrument › SecurityXML |
| MarketDataIncrementalRefresh | X | Optional | inside MDIncGrp › Instrument › SecurityXML |
| MarketDataRequest | V | Optional | inside InstrmtMDReqGrp › Instrument › SecurityXML |
| MarketDataSnapshotFullRefresh | W | Optional | inside Instrument › SecurityXML |
| MassQuote | i | Optional | inside QuotSetGrp › QuotEntryGrp › Instrument › SecurityXML |
| MassQuoteAcknowledgement | b | Optional | inside QuotSetAckGrp › QuotEntryAckGrp › Instrument › SecurityXML |
| MultilegOrderCancelReplace | AC | Optional | inside Instrument › SecurityXML |
| NewOrderCross | s | Optional | inside Instrument › SecurityXML |
| NewOrderList | E | Optional | inside ListOrdGrp › Instrument › SecurityXML |
| NewOrderMultileg | AB | Optional | inside Instrument › SecurityXML |
| NewOrderSingle | D | Optional | inside Instrument › SecurityXML |
| News | B | Optional | inside InstrmtGrp › Instrument › SecurityXML |
| OrderCancelReplaceRequest | G | Optional | inside Instrument › SecurityXML |
| OrderCancelRequest | F | Optional | inside Instrument › SecurityXML |
| OrderMassActionReport | BZ | Optional | inside Instrument › SecurityXML |
| OrderMassActionRequest | CA | Optional | inside Instrument › SecurityXML |
| OrderMassCancelReport | r | Optional | inside Instrument › SecurityXML |
| OrderMassCancelRequest | q | Optional | inside Instrument › SecurityXML |
| OrderMassStatusRequest | AF | Optional | inside Instrument › SecurityXML |
| OrderStatusRequest | H | Optional | inside Instrument › SecurityXML |
| PositionMaintenanceReport | AM | Optional | inside Instrument › SecurityXML |
| PositionMaintenanceRequest | AL | Optional | inside Instrument › SecurityXML |
| PositionReport | AP | Optional | inside Instrument › SecurityXML |
| Quote | S | Optional | inside Instrument › SecurityXML |
| QuoteCancel | Z | Optional | inside QuotCxlEntriesGrp › Instrument › SecurityXML |
| QuoteRequest | R | Optional | inside QuotReqGrp › Instrument › SecurityXML |
| QuoteRequestReject | AG | Optional | inside QuotReqRjctGrp › Instrument › SecurityXML |
| QuoteResponse | AJ | Optional | inside Instrument › SecurityXML |
| QuoteStatusReport | AI | Optional | inside Instrument › SecurityXML |
| QuoteStatusRequest | a | Optional | inside Instrument › SecurityXML |
| RFQRequest | AH | Optional | inside RFQReqGrp › Instrument › SecurityXML |
| RequestForPositions | AN | Optional | inside Instrument › SecurityXML |
| RequestForPositionsAck | AO | Optional | inside Instrument › SecurityXML |
| SecurityDefinition | d | Optional | inside Instrument › SecurityXML |
| SecurityDefinitionRequest | c | Optional | inside Instrument › SecurityXML |
| SecurityDefinitionUpdateReport | BP | Optional | inside Instrument › SecurityXML |
| SecurityList | y | Optional | inside SecListGrp › Instrument › SecurityXML |
| SecurityListRequest | x | Optional | inside Instrument › SecurityXML |
| SecurityListUpdateReport | BK | Optional | inside SecLstUpdRelSymGrp › Instrument › SecurityXML |
| SecurityStatus | f | Optional | inside Instrument › SecurityXML |
| SecurityStatusRequest | e | Optional | inside Instrument › SecurityXML |
| SettlementObligationReport | BQ | Optional | inside SettlObligationInstructions › Instrument › SecurityXML |
| StreamAssignmentReport | CD | Optional | inside StrmAsgnRptGrp › StrmAsgnRptInstrmtGrp › Instrument › SecurityXML |
| StreamAssignmentRequest | CC | Optional | inside StrmAsgnReqGrp › StrmAsgnReqInstrmtGrp › Instrument › SecurityXML |
| TradeCaptureReport | AE | Optional | inside Instrument › SecurityXML |
| TradeCaptureReportAck | AR | Optional | inside Instrument › SecurityXML |
| TradeCaptureReportRequest | AD | Optional | inside Instrument › SecurityXML |
| TradeCaptureReportRequestAck | AQ | Optional | inside Instrument › SecurityXML |
| TradingSessionStatus | h | Optional | inside Instrument › SecurityXML |
Wire format
Values are carried as data on the wire. @boarteam/fix reads the partner length field first and takes exactly that many bytes, so an embedded separator does not truncate the value.
Read tag 1185 in TypeScript
import { createFixEngine } from "@boarteam/fix";import { dictionary } from "@boarteam/fix-dict-fix50sp2";const fix = createFixEngine(dictionary);const { message, issues } = fix.parse(raw);// Length-prefixed: tag 1184 carries the byte count, so the// value may contain the SOH separator without breaking the message.const length = message.fields[1184]?.value;const securityXML = message.fields[1185]?.raw;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