LocalMktDate

base: StringFIX 4.4FIX 4.2FIX 5.0 SP2

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

Wire format

Base type
String
Format
YYYYMMDD
Fields
36

A calendar date in the market's local timezone, with no time component and no offset.

What the specification says

FIX 4.4

string field representing a Date of Local Market (as opposed to UTC) in YYYY-MM-DD format per the ISO 8601 standard. This is the "normal" date field used by the FIX Protocol. Valid values: YYYY = 0000-9999, MM = 01-12, DD = 01-31.

FIX 4.2

Date of Local Market (vs. UTC) in YYYYMMDD format. Valid values: YYYY = 0000-9999, MM = 01-12, DD = 01-31.

FIX 5.0 SP2

Date of Local Market (as opposed to UTC) in YYYYMMDD format. Valid values: YYYY = 0000-9999, MM = 01-12, DD = 01-31.

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

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