Boolean

base: charFIX 4.4FIX 4.2

Boolean is a FIX datatype defined in FIX 4.4 and FIX 4.2, carried on the wire as char. 30 fields use it.

Wire format

Base type
char
Fields
30

Y or N. Not 1/0, and not true/false.

What the specification says

char field containing one of two values: 'Y' = True/Yes 'N' = False/No

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

How @boarteam/fix handles it

@boarteam/fix keeps the value as a string and, for enumerated fields, reports validate/value-not-in-enum when it is not a defined value.

Fields with this datatype

TagFieldDialectsMessages
43PossDupFlagFIX 4.4, FIX 4.293
97PossResendFIX 4.4, FIX 4.293
113ReportToExchFIX 4.4, FIX 4.21
114LocateReqdFIX 4.4, FIX 4.27
121ForexReqFIX 4.4, FIX 4.28
123GapFillFlagFIX 4.4, FIX 4.21
130IOINaturalFlagFIX 4.4, FIX 4.21
141ResetSeqNumFlagFIX 4.4, FIX 4.21
208NotifyBrokerOfCreditFIX 4.4, FIX 4.22
258TradedFlatSwitchFIX 4.41
266AggregatedBookFIX 4.4, FIX 4.21
325UnsolicitedIndicatorFIX 4.4, FIX 4.25
328InViewOfCommonFIX 4.4, FIX 4.21
329DueToRelatedFIX 4.4, FIX 4.21
377SolicitedFlagFIX 4.4, FIX 4.29
411ExchangeForPhysicalFIX 4.4, FIX 4.21
464TestMessageIndicatorFIX 4.41
547MDImplicitDeleteFIX 4.41
570PreviouslyReportedFIX 4.43
575OddLotFIX 4.41
636WorkingIndicatorFIX 4.43
650LegalConfirmFIX 4.43
700ReversalIndicatorFIX 4.42
719ContraryInstructionIndicatorFIX 4.41
720PriorSpreadIndicatorFIX 4.41
754AutoAcceptIndicatorFIX 4.42
797CopyMsgIndicatorFIX 4.43
852PublishTrdIndicatorFIX 4.41
893LastFragmentFIX 4.410
912LastRptRequestedFIX 4.44

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