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
| Tag | Field | Dialects | Messages |
|---|---|---|---|
| 43 | PossDupFlag | FIX 4.4, FIX 4.2 | 93 |
| 97 | PossResend | FIX 4.4, FIX 4.2 | 93 |
| 113 | ReportToExch | FIX 4.4, FIX 4.2 | 1 |
| 114 | LocateReqd | FIX 4.4, FIX 4.2 | 7 |
| 121 | ForexReq | FIX 4.4, FIX 4.2 | 8 |
| 123 | GapFillFlag | FIX 4.4, FIX 4.2 | 1 |
| 130 | IOINaturalFlag | FIX 4.4, FIX 4.2 | 1 |
| 141 | ResetSeqNumFlag | FIX 4.4, FIX 4.2 | 1 |
| 208 | NotifyBrokerOfCredit | FIX 4.4, FIX 4.2 | 2 |
| 258 | TradedFlatSwitch | FIX 4.4 | 1 |
| 266 | AggregatedBook | FIX 4.4, FIX 4.2 | 1 |
| 325 | UnsolicitedIndicator | FIX 4.4, FIX 4.2 | 5 |
| 328 | InViewOfCommon | FIX 4.4, FIX 4.2 | 1 |
| 329 | DueToRelated | FIX 4.4, FIX 4.2 | 1 |
| 377 | SolicitedFlag | FIX 4.4, FIX 4.2 | 9 |
| 411 | ExchangeForPhysical | FIX 4.4, FIX 4.2 | 1 |
| 464 | TestMessageIndicator | FIX 4.4 | 1 |
| 547 | MDImplicitDelete | FIX 4.4 | 1 |
| 570 | PreviouslyReported | FIX 4.4 | 3 |
| 575 | OddLot | FIX 4.4 | 1 |
| 636 | WorkingIndicator | FIX 4.4 | 3 |
| 650 | LegalConfirm | FIX 4.4 | 3 |
| 700 | ReversalIndicator | FIX 4.4 | 2 |
| 719 | ContraryInstructionIndicator | FIX 4.4 | 1 |
| 720 | PriorSpreadIndicator | FIX 4.4 | 1 |
| 754 | AutoAcceptIndicator | FIX 4.4 | 2 |
| 797 | CopyMsgIndicator | FIX 4.4 | 3 |
| 852 | PublishTrdIndicator | FIX 4.4 | 1 |
| 893 | LastFragment | FIX 4.4 | 10 |
| 912 | LastRptRequested | FIX 4.4 | 4 |
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