int

base: intFIX 4.4FIX 4.2FIX 5.0 SP2

int is a FIX datatype defined in FIX 4.4, FIX 4.2 and FIX 5.0 SP2, carried on the wire as int. 193 fields use it.

Wire format

Base type
int
Fields
193

A whole number, optionally signed. Leading zeros are legal on the wire and are preserved in the raw value.

What the specification says

FIX 4.4

Sequence of digits without commas or decimals and optional sign character (ASCII characters "-" and "0" - "9" ). The sign character utilizes one byte (i.e. positive int is "99999" while negative int is "-99999"). Note that int values may contain leading zeros (e.g. "00023" = "23"). Examples: 723 in field 21 would be mapped int as |21=723|. -723 in field 12 would be mapped int as |12=-723| The following data types are based on int.

FIX 4.2

Sequence of digits without commas or decimals and optional sign character (ASCII characters "-" and "0" - "9" ). The sign character utilizes one byte (i.e. positive int is "99999" while negative int is "-99999"). Note that int values may contain leading zeros (e.g. "00023" = "23"). Examples: 723 in field 21 would be mapped int as |21=723|. -723 in field 12 would be mapped int as |12=-723| The following data types are based on int.

FIX 5.0 SP2

Sequence of digits without commas or decimals and optional sign character (characters "-" and "0" -"9"). The sign character utilizes one octet (i.e. positive int is "99999" while negative int is "-99999"). Note that int values may contain leading zeros (e.g. "00023" = "23")

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

How @boarteam/fix handles it

@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.

Fields with this datatype

TagFieldDialectsMessages
67ListSeqNoFIX 4.4, FIX 4.2, FIX 5.0 SP21
68TotNoOrdersFIX 4.4, FIX 4.2, FIX 5.0 SP22
74AvgPxPrecisionFIX 4.4, FIX 4.2, FIX 5.0 SP23
82NoRptsFIX 4.4, FIX 4.2, FIX 5.0 SP21
83RptSeqFIX 4.4, FIX 4.2, FIX 5.0 SP21
87AllocStatusFIX 4.4, FIX 4.2, FIX 5.0 SP23
88AllocRejCodeFIX 4.4, FIX 4.2, FIX 5.0 SP23
98EncryptMethodFIX 4.4, FIX 4.2, FIX 5.0 SP21
102CxlRejReasonFIX 4.4, FIX 4.2, FIX 5.0 SP21
103OrdRejReasonFIX 4.4, FIX 4.2, FIX 5.0 SP22
108HeartBtIntFIX 4.4, FIX 4.2, FIX 5.0 SP21
157NumDaysInterestFIX 4.4, FIX 4.2, FIX 5.0 SP25
169StandInstDbTypeFIX 4.4, FIX 4.2, FIX 5.0 SP28
172SettlDeliveryTypeFIX 4.4, FIX 4.2, FIX 5.0 SP27
197AllocLinkTypeFIX 4.4, FIX 4.2, FIX 5.0 SP22
201PutOrCallFIX 4.4, FIX 4.2, FIX 5.0 SP259
203CoveredOrUncoveredFIX 4.4, FIX 4.2, FIX 5.0 SP27
209AllocHandlInstFIX 4.4, FIX 4.2, FIX 5.0 SP22
216RoutingTypeFIX 4.4, FIX 4.2, FIX 5.0 SP23
226RepurchaseTermFIX 4.4, FIX 5.0 SP259
244UnderlyingRepurchaseTermFIX 4.4, FIX 5.0 SP259
251LegRepurchaseTermFIX 4.4, FIX 5.0 SP250
264MarketDepthFIX 4.4, FIX 4.2, FIX 5.0 SP21
265MDUpdateTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
287SellerDaysFIX 4.4, FIX 4.2, FIX 5.0 SP22
290MDEntryPositionNoFIX 4.4, FIX 4.2, FIX 5.0 SP22
297QuoteStatusFIX 4.4, FIX 4.2, FIX 5.0 SP22
298QuoteCancelTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
300QuoteRejectReasonFIX 4.4, FIX 4.2, FIX 5.0 SP21
301QuoteResponseLevelFIX 4.4, FIX 4.2, FIX 5.0 SP24
303QuoteRequestTypeFIX 4.4, FIX 4.2, FIX 5.0 SP23
304TotNoQuoteEntriesFIX 4.4, FIX 4.2, FIX 5.0 SP22
315UnderlyingPutOrCallFIX 4.4, FIX 4.2, FIX 5.0 SP259
321SecurityRequestTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
323SecurityResponseTypeFIX 4.4, FIX 4.2, FIX 5.0 SP22
326SecurityTradingStatusFIX 4.4, FIX 4.2, FIX 5.0 SP21
334AdjustmentFIX 4.4, FIX 4.2, FIX 5.0 SP21
338TradSesMethodFIX 4.4, FIX 4.2, FIX 5.0 SP22
339TradSesModeFIX 4.4, FIX 4.2, FIX 5.0 SP22
340TradSesStatusFIX 4.4, FIX 4.2, FIX 5.0 SP21
346NumberOfOrdersFIX 4.4, FIX 4.2, FIX 5.0 SP22
368QuoteEntryRejectReasonFIX 4.4, FIX 4.2, FIX 5.0 SP21
371RefTagIDFIX 4.4, FIX 4.2, FIX 5.0 SP21
373SessionRejectReasonFIX 4.4, FIX 4.2, FIX 5.0 SP21
378ExecRestatementReasonFIX 4.4, FIX 4.2, FIX 5.0 SP22
380BusinessRejectReasonFIX 4.4, FIX 4.2, FIX 5.0 SP21
393TotNoRelatedSymFIX 4.4, FIX 4.2, FIX 5.0 SP23
394BidTypeFIX 4.4, FIX 4.2, FIX 5.0 SP22
395NumTicketsFIX 4.4, FIX 4.2, FIX 5.0 SP21
399BidDescriptorTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
401SideValueIndFIX 4.4, FIX 4.2, FIX 5.0 SP22
409LiquidityIndTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
414ProgRptReqsFIX 4.4, FIX 4.2, FIX 5.0 SP22
415ProgPeriodIntervalFIX 4.4, FIX 4.2, FIX 5.0 SP22
416IncTaxIndFIX 4.4, FIX 4.2, FIX 5.0 SP21
417NumBiddersFIX 4.4, FIX 4.2, FIX 5.0 SP21
422TotNoStrikesFIX 4.4, FIX 4.2, FIX 5.0 SP21
423PriceTypeFIX 4.4, FIX 4.2, FIX 5.0 SP224
427GTBookingInstFIX 4.4, FIX 4.2, FIX 5.0 SP28
429ListStatusTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
430NetGrossIndFIX 4.4, FIX 4.2, FIX 5.0 SP22
431ListOrderStatusFIX 4.4, FIX 4.2, FIX 5.0 SP21
441LiquidityNumSecuritiesFIX 4.4, FIX 4.2, FIX 5.0 SP21
452PartyRoleFIX 4.4, FIX 5.0 SP244
460ProductFIX 4.4, FIX 5.0 SP265
462UnderlyingProductFIX 4.4, FIX 5.0 SP259
477DistribPaymentMethodFIX 4.4, FIX 5.0 SP21
487TradeReportTransTypeFIX 4.4, FIX 5.0 SP22
492PaymentMethodFIX 4.4, FIX 5.0 SP21
495TaxAdvantageTypeFIX 4.4, FIX 5.0 SP21
507RegistRejReasonCodeFIX 4.4, FIX 5.0 SP21
519ContAmtTypeFIX 4.4, FIX 5.0 SP22
522OwnerTypeFIX 4.4, FIX 5.0 SP21
533TotalAffectedOrdersFIX 4.4, FIX 5.0 SP21
537QuoteTypeFIX 4.4, FIX 5.0 SP28
538NestedPartyRoleFIX 4.4, FIX 5.0 SP222
549CrossTypeFIX 4.4, FIX 5.0 SP24
550CrossPrioritizationFIX 4.4, FIX 5.0 SP23
557TotNoSecurityTypesFIX 4.4, FIX 5.0 SP21
559SecurityListRequestTypeFIX 4.4, FIX 5.0 SP22
560SecurityRequestResultFIX 4.4, FIX 5.0 SP22
563MultiLegRptTypeReqFIX 4.4, FIX 5.0 SP22
565LegCoveredOrUncoveredFIX 4.4, FIX 5.0 SP25
567TradSesStatusRejReasonFIX 4.4, FIX 5.0 SP21
569TradeRequestTypeFIX 4.4, FIX 5.0 SP22
577ClearingInstructionFIX 4.4, FIX 5.0 SP23
581AccountTypeFIX 4.4, FIX 5.0 SP233
582CustOrderCapacityFIX 4.4, FIX 5.0 SP213
585MassStatusReqTypeFIX 4.4, FIX 5.0 SP21
607LegProductFIX 4.4, FIX 5.0 SP250
626AllocTypeFIX 4.4, FIX 5.0 SP22
638PriorityIndicatorFIX 4.4, FIX 5.0 SP21
658QuoteRequestRejectReasonFIX 4.4, FIX 5.0 SP21
660AcctIDSourceFIX 4.4, FIX 5.0 SP231
661AllocAcctIDSourceFIX 4.4, FIX 5.0 SP216
663BenchmarkPriceTypeFIX 4.4, FIX 5.0 SP222
665ConfirmStatusFIX 4.4, FIX 5.0 SP21
666ConfirmTransTypeFIX 4.4, FIX 5.0 SP21
668DeliveryFormFIX 4.4, FIX 5.0 SP211
680LegBenchmarkPriceTypeFIX 4.4, FIX 5.0 SP25
686LegPriceTypeFIX 4.4, FIX 5.0 SP22
690LegSwapTypeFIX 4.4, FIX 5.0 SP211
692QuotePriceTypeFIX 4.4, FIX 5.0 SP22
694QuoteRespTypeFIX 4.4, FIX 5.0 SP21
698YieldRedemptionPriceTypeFIX 4.4, FIX 5.0 SP217
706PosQtyStatusFIX 4.4, FIX 5.0 SP24
709PosTransTypeFIX 4.4, FIX 5.0 SP22
712PosMaintActionFIX 4.4, FIX 5.0 SP22
718AdjustmentTypeFIX 4.4, FIX 5.0 SP22
722PosMaintStatusFIX 4.4, FIX 5.0 SP21
723PosMaintResultFIX 4.4, FIX 5.0 SP21
724PosReqTypeFIX 4.4, FIX 5.0 SP22
725ResponseTransportTypeFIX 4.4, FIX 5.0 SP27
727TotalNumPosReportsFIX 4.4, FIX 5.0 SP22
728PosReqResultFIX 4.4, FIX 5.0 SP22
729PosReqStatusFIX 4.4, FIX 5.0 SP21
731SettlPriceTypeFIX 4.4, FIX 5.0 SP22
733UnderlyingSettlPriceTypeFIX 4.4, FIX 5.0 SP21
748TotNumTradeReportsFIX 4.4, FIX 5.0 SP22
749TradeRequestResultFIX 4.4, FIX 5.0 SP21
750TradeRequestStatusFIX 4.4, FIX 5.0 SP21
751TradeReportRejectReasonFIX 4.4, FIX 5.0 SP21
752SideMultiLegReportingTypeFIX 4.4, FIX 5.0 SP21
759Nested2PartyRoleFIX 4.4, FIX 5.0 SP28
770TrdRegTimestampTypeFIX 4.4, FIX 5.0 SP28
773ConfirmTypeFIX 4.4, FIX 5.0 SP22
774ConfirmRejReasonFIX 4.4, FIX 5.0 SP21
775BookingTypeFIX 4.4, FIX 5.0 SP210
776IndividualAllocRejCodeFIX 4.4, FIX 5.0 SP22
780AllocSettlInstTypeFIX 4.4, FIX 5.0 SP22
784SettlPartyRoleFIX 4.4, FIX 5.0 SP27
786SettlPartySubIDTypeFIX 4.4, FIX 5.0 SP27
788TerminationTypeFIX 4.4, FIX 5.0 SP226
792SettlInstReqRejCodeFIX 4.4, FIX 5.0 SP21
794AllocReportTypeFIX 4.4, FIX 5.0 SP22
796AllocCancReplaceReasonFIX 4.4, FIX 5.0 SP22
798AllocAccountTypeFIX 4.4, FIX 5.0 SP22
803PartySubIDTypeFIX 4.4, FIX 5.0 SP244
805NestedPartySubIDTypeFIX 4.4, FIX 5.0 SP222
807Nested2PartySubIDTypeFIX 4.4, FIX 5.0 SP28
808AllocIntermedReqTypeFIX 4.4, FIX 5.0 SP24
812ApplQueueMaxFIX 4.4, FIX 5.0 SP21
813ApplQueueDepthFIX 4.4, FIX 5.0 SP22
814ApplQueueResolutionFIX 4.4, FIX 5.0 SP22
815ApplQueueActionFIX 4.4, FIX 5.0 SP21
819AvgPxIndicatorFIX 4.4, FIX 5.0 SP21
826TradeAllocIndicatorFIX 4.4, FIX 5.0 SP21
827ExpirationCycleFIX 4.4, FIX 5.0 SP24
828TrdTypeFIX 4.4, FIX 5.0 SP23
829TrdSubTypeFIX 4.4, FIX 5.0 SP23
832TotNumAssignmentReportsFIX 4.4, FIX 5.0 SP21
835PegMoveTypeFIX 4.4, FIX 5.0 SP28
836PegOffsetTypeFIX 4.4, FIX 5.0 SP28
837PegLimitTypeFIX 4.4, FIX 5.0 SP28
838PegRoundDirectionFIX 4.4, FIX 5.0 SP28
840PegScopeFIX 4.4, FIX 5.0 SP28
841DiscretionMoveTypeFIX 4.4, FIX 5.0 SP28
842DiscretionOffsetTypeFIX 4.4, FIX 5.0 SP28
843DiscretionLimitTypeFIX 4.4, FIX 5.0 SP28
844DiscretionRoundDirectionFIX 4.4, FIX 5.0 SP28
846DiscretionScopeFIX 4.4, FIX 5.0 SP28
847TargetStrategyFIX 4.4, FIX 5.0 SP28
851LastLiquidityIndFIX 4.4, FIX 5.0 SP21
853ShortSaleReasonFIX 4.4, FIX 5.0 SP21
854QtyTypeFIX 4.4, FIX 5.0 SP222
855SecondaryTrdTypeFIX 4.4, FIX 5.0 SP23
856TradeReportTypeFIX 4.4, FIX 5.0 SP22
857AllocNoOrdersTypeFIX 4.4, FIX 5.0 SP22
865EventTypeFIX 4.4, FIX 5.0 SP259
871InstrAttribTypeFIX 4.4, FIX 5.0 SP211
875CPProgramFIX 4.4, FIX 5.0 SP259
891MiscFeeBasisFIX 4.4, FIX 5.0 SP29
892TotNoAllocsFIX 4.4, FIX 5.0 SP22
895CollAsgnReasonFIX 4.4, FIX 5.0 SP23
896CollInquiryQualifierFIX 4.4, FIX 5.0 SP22
903CollAsgnTransTypeFIX 4.4, FIX 5.0 SP22
905CollAsgnRespTypeFIX 4.4, FIX 5.0 SP21
906CollAsgnRejectReasonFIX 4.4, FIX 5.0 SP21
910CollStatusFIX 4.4, FIX 5.0 SP21
911TotNumReportsFIX 4.4, FIX 5.0 SP23
919DeliveryTypeFIX 4.4, FIX 5.0 SP226
924UserRequestTypeFIX 4.4, FIX 5.0 SP21
926UserStatusFIX 4.4, FIX 5.0 SP21
928StatusValueFIX 4.4, FIX 5.0 SP21
935NetworkRequestTypeFIX 4.4, FIX 5.0 SP21
937NetworkStatusResponseTypeFIX 4.4, FIX 5.0 SP21
939TrdRptStatusFIX 4.4, FIX 5.0 SP21
940AffirmStatusFIX 4.4, FIX 5.0 SP21
944CollActionFIX 4.4, FIX 5.0 SP23
945CollInquiryStatusFIX 4.4, FIX 5.0 SP21
946CollInquiryResultFIX 4.4, FIX 5.0 SP21
951Nested3PartyRoleFIX 4.4, FIX 5.0 SP22
954Nested3PartySubIDTypeFIX 4.4, FIX 5.0 SP22

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