Country

base: StringFIX 4.4

Country is a FIX datatype defined in FIX 4.4, carried on the wire as String. 5 fields use it.

Wire format

Base type
String
Fields
5

A two-letter ISO 3166 country code.

What the specification says

string field representing a country using ISO 3166 Country code (2 character) values (see Appendix 6-B).

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; format rules are checked by validate(), which reports validate/invalid-value rather than throwing.

Fields with this datatype

TagFieldDialectsMessages
421CountryFIX 4.4, FIX 4.21
470CountryOfIssueFIX 4.459
475InvestorCountryOfResidenceFIX 4.41
592UnderlyingCountryOfIssueFIX 4.459
596LegCountryOfIssueFIX 4.450

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