SecurityIDSource (FIX tag 22)

StringFIX 4.4FIX 4.2FIX 5.0 SP2

SecurityIDSource (tag 22) is a String field defined in FIX 4.4, FIX 4.2 and FIX 5.0 SP2. It appears in 59 message types, always optionally. It is an enumerated field with 19 defined values. FIX 4.2 calls this field IDSource; the tag number is unchanged, so the two are the same field on the wire.

Also known as IDSource
FIX 4.2 calls tag 22 IDSource. It is the same field on the wire — only the name changed — so a message encoded by either side interoperates.

At a glance

Tag
22
Name
SecurityIDSource
Datatype
String
Dialects
FIX 4.4, FIX 4.2 and FIX 5.0 SP2
Messages
59
Valid values
19

What the specification says

FIX 4.4

Identifies class or source of the SecurityID (48) value. Required if SecurityID is specified.

FIX 4.2

Identifies class of alternative SecurityID

FIX 5.0 SP2

Identifies class or source of the SecurityID(48) value.

Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.

A real message using tag 22

NewOrderSingle · FIX 4.4
TagFieldWire valueMeaning
8BeginStringFIX.4.4
9BodyLength116
35MsgTypeDOrder – Single
49SenderCompIDBOARTEAM
56TargetCompIDCOUNTERPARTY
34MsgSeqNum2
52SendingTime20240101-12:00:00.000
11ClOrdIDORD-10042
22SecurityIDSource1CUSIP
54Side1Buy
60TransactTime20240101-12:00:00.000
40OrdType1Market
10CheckSum200
Edit and decode it yourself

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.

Open in the full decoder →

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.

ValueMeaningSymbolic nameDialects
1CUSIPCUSIPFIX 4.4, FIX 4.2, FIX 5.0 SP2
2SEDOLSEDOLFIX 4.4, FIX 4.2, FIX 5.0 SP2
3QUIKQUIKFIX 4.4, FIX 4.2, FIX 5.0 SP2
4ISIN numberISIN_NUMBER / ISINNumberFIX 4.4, FIX 4.2, FIX 5.0 SP2
5RIC codeRIC_CODE / RICCodeFIX 4.4, FIX 4.2, FIX 5.0 SP2
6ISO Currency CodeISO_CURRENCY_CODE / ISOCurrencyCodeFIX 4.4, FIX 4.2, FIX 5.0 SP2
7ISO Country CodeISO_COUNTRY_CODE / ISOCountryCodeFIX 4.4, FIX 4.2, FIX 5.0 SP2
8Exchange SymbolEXCHANGE_SYMBOL / ExchangeSymbolFIX 4.4, FIX 4.2, FIX 5.0 SP2
9Consolidated Tape Association (CTA) Symbol (SIAC CTS/CQS line format)CONSOLIDATED_TAPE_ASSOCIATION / ConsolidatedTapeAssociationFIX 4.4, FIX 4.2, FIX 5.0 SP2
ABloomberg SymbolBLOOMBERG_SYMBOLFIX 4.4, FIX 5.0 SP2
BWertpapierWERTPAPIERFIX 4.4, FIX 5.0 SP2
CDutchDUTCHFIX 4.4, FIX 5.0 SP2
DValorenVALORENFIX 4.4, FIX 5.0 SP2
ESicovamSICOVAMFIX 4.4, FIX 5.0 SP2
FBelgianBELGIANFIX 4.4, FIX 5.0 SP2
G"Common" (Clearstream and Euroclear)COMMONFIX 4.4, FIX 5.0 SP2
HClearing House / Clearing OrganizationCLEARING_HOUSE / CLEARING_HOUSE_CLEARING_ORGANIZATIONFIX 4.4, FIX 5.0 SP2
IISDA/FpML Product SpecificationISDA_FPML_PRODUCT_SPECIFICATIONFIX 4.4, FIX 5.0 SP2
JOptions Price Reporting AuthorityOPTIONS_PRICE_REPORTING_AUTHORITY / OPTION_PRICE_REPORTING_AUTHORITYFIX 4.4, FIX 5.0 SP2
KISDA/FpML product URL (URL in SecurityID(48))ISDA_FPML_PRODUCT_URLFIX 5.0 SP2
LLetter of creditLETTER_OF_CREDITFIX 5.0 SP2
MMarketplace-assigned IdentifierMARKETPLACE_ASSIGNED_IDENTIFIERFIX 5.0 SP2

Where tag 22 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.

MessageMsgTypeFIX 4.4FIX 4.2FIX 5.0 SP2Where in the message
AdjustedPositionReportBLOptionalinside InstrmtGrp › Instrument
Advertisement7ConditionalOptionalOptionalinside the Instrument component
AllocationInstructionJConditionalOptionalOptionalinside the Instrument component
AllocationInstructionAlertBMOptionalinside the Instrument component
AllocationReportASConditionalOptionalinside the Instrument component
AssignmentReportAWConditionalOptionalinside the Instrument component
CollateralAssignmentAYConditionalOptionalinside the Instrument component
CollateralInquiryBBConditionalOptionalinside the Instrument component
CollateralInquiryAckBGConditionalOptionalinside the Instrument component
CollateralReportBAConditionalOptionalinside the Instrument component
CollateralRequestAXConditionalOptionalinside the Instrument component
CollateralResponseAZConditionalOptionalinside the Instrument component
ConfirmationAKConditionalOptionalinside the Instrument component
ContraryIntentionReportBOOptionalinside the Instrument component
CrossOrderCancelReplaceRequesttConditionalOptionalinside the Instrument component
CrossOrderCancelRequestuConditionalOptionalinside the Instrument component
DerivativeSecurityListAAConditionalOptionalinside RelSymDerivSecGrp › Instrument
DerivativeSecurityListUpdateReportBROptionalinside RelSymDerivSecUpdGrp › Instrument
DontKnowTradeQConditionalOptionalOptionalinside the Instrument component
EmailCConditionalOptionalOptionalinside InstrmtGrp › Instrument
ExecutionAcknowledgementBNOptionalinside the Instrument component
ExecutionReport8ConditionalOptionalOptionalinside the Instrument component
IOI6ConditionalOptionalOptionalinside the Instrument component
ListStrikePricemConditionalOptionalOptionalinside InstrmtStrkPxGrp › Instrument
MarketDataIncrementalRefreshXConditionalOptionalOptionalinside MDIncGrp › Instrument
MarketDataRequestVConditionalOptionalOptionalinside InstrmtMDReqGrp › Instrument
MarketDataSnapshotFullRefreshWConditionalOptionalOptionalinside the Instrument component
MassQuoteiConditionalOptionalOptionalinside QuotSetGrp › QuotEntryGrp › Instrument
MassQuoteAcknowledgementbConditionalOptionalOptionalinside QuotSetAckGrp › QuotEntryAckGrp › Instrument
MultilegOrderCancelReplaceACConditionalOptionalinside the Instrument component
NewOrderCrosssConditionalOptionalinside the Instrument component
NewOrderListEConditionalOptionalOptionalinside ListOrdGrp › Instrument
NewOrderMultilegABConditionalOptionalinside the Instrument component
NewOrderSingleDConditionalOptionalOptionalinside the Instrument component
NewsBConditionalOptionalOptionalinside InstrmtGrp › Instrument
OrderCancelReplaceRequestGConditionalOptionalOptionalinside the Instrument component
OrderCancelRequestFConditionalOptionalOptionalinside the Instrument component
OrderMassActionReportBZOptionalinside the Instrument component
OrderMassActionRequestCAOptionalinside the Instrument component
OrderMassCancelReportrConditionalOptionalinside the Instrument component
OrderMassCancelRequestqConditionalOptionalinside the Instrument component
OrderMassStatusRequestAFConditionalOptionalinside the Instrument component
OrderStatusRequestHConditionalOptionalOptionalinside the Instrument component
PositionMaintenanceReportAMConditionalOptionalinside the Instrument component
PositionMaintenanceRequestALConditionalOptionalinside the Instrument component
PositionReportAPConditionalOptionalinside the Instrument component
QuoteSConditionalOptionalOptionalinside the Instrument component
QuoteCancelZConditionalOptionalOptionalinside QuotCxlEntriesGrp › Instrument
QuoteRequestRConditionalOptionalOptionalinside QuotReqGrp › Instrument
QuoteRequestRejectAGConditionalOptionalinside QuotReqRjctGrp › Instrument
QuoteResponseAJConditionalOptionalinside the Instrument component
QuoteStatusReportAIConditionalOptionalinside the Instrument component
QuoteStatusRequestaConditionalOptionalOptionalinside the Instrument component
RFQRequestAHConditionalOptionalinside RFQReqGrp › Instrument
RequestForPositionsANConditionalOptionalinside the Instrument component
RequestForPositionsAckAOConditionalOptionalinside the Instrument component
SecurityDefinitiondConditionalOptionalOptionalinside the Instrument component
SecurityDefinitionRequestcConditionalOptionalOptionalinside the Instrument component
SecurityDefinitionUpdateReportBPOptionalinside the Instrument component
SecurityListyConditionalOptionalinside SecListGrp › Instrument
SecurityListRequestxConditionalOptionalinside the Instrument component
SecurityListUpdateReportBKOptionalinside SecLstUpdRelSymGrp › Instrument
SecurityStatusfConditionalOptionalOptionalinside the Instrument component
SecurityStatusRequesteConditionalOptionalOptionalinside the Instrument component
SettlementObligationReportBQOptionalinside SettlObligationInstructions › Instrument
StreamAssignmentReportCDOptionalinside StrmAsgnRptGrp › StrmAsgnRptInstrmtGrp › Instrument
StreamAssignmentRequestCCOptionalinside StrmAsgnReqGrp › StrmAsgnReqInstrmtGrp › Instrument
TradeCaptureReportAEConditionalOptionalinside the Instrument component
TradeCaptureReportAckARConditionalOptionalinside the Instrument component
TradeCaptureReportRequestADConditionalOptionalinside the Instrument component
TradeCaptureReportRequestAckAQConditionalOptionalinside the Instrument component
TradingSessionStatushOptionalinside the Instrument component

Wire format

Free-form text. Any byte except the SOH separator is legal, so values are not trimmed or case-folded on the wire. @boarteam/fix keeps the value as a string; format rules are checked by validate(), which reports validate/invalid-value rather than throwing.

Read tag 22 in TypeScript

decode.tsts
import { createFixEngine } from "@boarteam/fix";import { dictionary } from "@boarteam/fix-dict-fix44";const fix = createFixEngine(dictionary);const { message, issues } = fix.parse(raw);const securityIDSource = message.fields[22]?.raw;// e.g. "1" — CUSIP// The dictionary also carries the labels:const label = fix.dictionary  .fieldByTag(22)  ?.enumValues?.find((e) => e.value === securityIDSource)  ?.description;

Other String 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