char

base: charFIX 4.4FIX 4.2FIX 5.0 SP2

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

Wire format

Base type
char
Fields
71

A single character. Most char fields are enumerated, so the value is one of a fixed set rather than arbitrary text.

What the specification says

FIX 4.4

Single character value, can include any alphanumeric character or punctuation except the delimiter. All char fields are case sensitive (i.e. m != M).

FIX 4.2

Single character value, can include any alphanumeric character or punctuation except the delimiter. All char fields are case sensitive

FIX 5.0 SP2

Single character value, can include any alphanumeric character or punctuation except the delimiter. All char fields are case sensitive (i.e. m != M). By default ISO/IEC 8859-1 (Latin-1). By counterparty agreement, a different single-byte character set may be used.

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
4AdvSideFIX 4.4, FIX 4.2, FIX 5.0 SP21
13CommTypeFIX 4.4, FIX 4.2, FIX 5.0 SP216
21HandlInstFIX 4.4, FIX 4.2, FIX 5.0 SP28
25IOIQltyIndFIX 4.4, FIX 4.2, FIX 5.0 SP21
28IOITransTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
29LastCapacityFIX 4.4, FIX 4.2, FIX 5.0 SP23
39OrdStatusFIX 4.4, FIX 4.2, FIX 5.0 SP24
40OrdTypeFIX 4.4, FIX 4.2, FIX 5.0 SP216
54SideFIX 4.4, FIX 4.2, FIX 5.0 SP236
59TimeInForceFIX 4.4, FIX 4.2, FIX 5.0 SP210
61UrgencyFIX 4.4, FIX 4.2, FIX 5.0 SP21
63SettlTypeFIX 4.4, FIX 4.2, FIX 5.0 SP219
71AllocTransTypeFIX 4.4, FIX 4.2, FIX 5.0 SP22
77PositionEffectFIX 4.4, FIX 4.2, FIX 5.0 SP212
81ProcessCodeFIX 4.4, FIX 4.2, FIX 5.0 SP210
94EmailTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
104IOIQualifierFIX 4.4, FIX 4.2, FIX 5.0 SP21
127DKReasonFIX 4.4, FIX 4.2, FIX 5.0 SP21
139MiscFeeTypeFIX 4.4, FIX 4.2, FIX 5.0 SP29
150ExecTypeFIX 4.4, FIX 4.2, FIX 5.0 SP24
156SettlCurrFxRateCalcFIX 4.4, FIX 4.2, FIX 5.0 SP28
160SettlInstModeFIX 4.4, FIX 4.2, FIX 5.0 SP22
163SettlInstTransTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
165SettlInstSourceFIX 4.4, FIX 4.2, FIX 5.0 SP27
206OptAttributeFIX 4.4, FIX 4.2, FIX 5.0 SP259
263SubscriptionRequestTypeFIX 4.4, FIX 4.2, FIX 5.0 SP216
269MDEntryTypeFIX 4.4, FIX 4.2, FIX 5.0 SP23
274TickDirectionFIX 4.4, FIX 4.2, FIX 5.0 SP22
279MDUpdateActionFIX 4.4, FIX 4.2, FIX 5.0 SP21
281MDReqRejReasonFIX 4.4, FIX 4.2, FIX 5.0 SP21
285DeleteReasonFIX 4.4, FIX 4.2, FIX 5.0 SP21
317UnderlyingOptAttributeFIX 4.4, FIX 4.2, FIX 5.0 SP259
327HaltReasonCharFIX 4.4, FIX 4.2, FIX 5.0 SP21
374BidRequestTransTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
385MsgDirectionFIX 4.4, FIX 4.2, FIX 5.0 SP21
388DiscretionInstFIX 4.4, FIX 4.2, FIX 5.0 SP28
418BidTradeTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
419BasisPxTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
433ListExecInstTypeFIX 4.4, FIX 4.2, FIX 5.0 SP21
434CxlRejResponseToFIX 4.4, FIX 4.2, FIX 5.0 SP21
442MultiLegReportingTypeFIX 4.4, FIX 4.2, FIX 5.0 SP24
447PartyIDSourceFIX 4.4, FIX 5.0 SP244
468RoundingDirectionFIX 4.4, FIX 5.0 SP218
480CancellationRightsFIX 4.4, FIX 5.0 SP28
481MoneyLaunderingStatusFIX 4.4, FIX 5.0 SP28
484ExecPriceTypeFIX 4.4, FIX 5.0 SP21
497FundRenewWaivFIX 4.4, FIX 5.0 SP213
506RegistStatusFIX 4.4, FIX 5.0 SP22
514RegistTransTypeFIX 4.4, FIX 5.0 SP22
517OwnershipTypeFIX 4.4, FIX 5.0 SP21
525NestedPartyIDSourceFIX 4.4, FIX 5.0 SP222
528OrderCapacityFIX 4.4, FIX 5.0 SP214
530MassCancelRequestTypeFIX 4.4, FIX 5.0 SP22
531MassCancelResponseFIX 4.4, FIX 5.0 SP21
532MassCancelRejectReasonFIX 4.4, FIX 5.0 SP21
544CashMarginFIX 4.4, FIX 5.0 SP28
564LegPositionEffectFIX 4.4, FIX 5.0 SP25
573MatchStatusFIX 4.4, FIX 5.0 SP28
587LegSettlTypeFIX 4.4, FIX 5.0 SP211
589DayBookingInstFIX 4.4, FIX 5.0 SP28
590BookingUnitFIX 4.4, FIX 5.0 SP28
591PreallocMethodFIX 4.4, FIX 5.0 SP210
613LegOptAttributeFIX 4.4, FIX 5.0 SP250
624LegSideFIX 4.4, FIX 5.0 SP250
695QuoteQualifierFIX 4.4, FIX 5.0 SP25
744AssignmentMethodFIX 4.4, FIX 5.0 SP21
747ExerciseMethodFIX 4.4, FIX 5.0 SP21
758Nested2PartyIDSourceFIX 4.4, FIX 5.0 SP28
783SettlPartyIDSourceFIX 4.4, FIX 5.0 SP27
787DlvyInstTypeFIX 4.4, FIX 5.0 SP27
950Nested3PartyIDSourceFIX 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