Exchange

base: StringFIX 4.4FIX 4.2

Exchange is a FIX datatype defined in FIX 4.4 and FIX 4.2, carried on the wire as String. 6 fields use it.

Wire format

Base type
String
Fields
6

A market identifier, in practice an ISO 10383 MIC.

What the specification says

FIX 4.4

string field representing a market or exchange using ISO 10383 Market Identifier Code (MIC) values (see Appendix 6-C).

FIX 4.2

String field (see definition of "String" above) representing a market or exchange. (see Appendix C-Reuters Exchange Mnemonics).

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
30LastMktFIX 4.4, FIX 4.26
100ExDestinationFIX 4.4, FIX 4.210
207SecurityExchangeFIX 4.4, FIX 4.259
275MDMktFIX 4.4, FIX 4.22
308UnderlyingSecurityExchangeFIX 4.4, FIX 4.259
616LegSecurityExchangeFIX 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