LocalMktDate
base: StringFIX 4.4FIX 4.2
LocalMktDate is a FIX datatype defined in FIX 4.4 and FIX 4.2, 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.
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
| Tag | Field | Dialects | Messages |
|---|---|---|---|
| 64 | SettlDate | FIX 4.4, FIX 4.2 | 27 |
| 75 | TradeDate | FIX 4.4, FIX 4.2 | 21 |
| 193 | SettlDate2 | FIX 4.4, FIX 4.2 | 11 |
| 224 | CouponPaymentDate | FIX 4.4 | 59 |
| 225 | IssueDate | FIX 4.4 | 59 |
| 229 | TradeOriginationDate | FIX 4.4 | 15 |
| 230 | ExDate | FIX 4.4 | 3 |
| 240 | RedemptionDate | FIX 4.4 | 59 |
| 241 | UnderlyingCouponPaymentDate | FIX 4.4 | 59 |
| 242 | UnderlyingIssueDate | FIX 4.4 | 59 |
| 247 | UnderlyingRedemptionDate | FIX 4.4 | 59 |
| 248 | LegCouponPaymentDate | FIX 4.4 | 50 |
| 249 | LegIssueDate | FIX 4.4 | 50 |
| 254 | LegRedemptionDate | FIX 4.4 | 50 |
| 259 | BasisFeatureDate | FIX 4.4 | 1 |
| 432 | ExpireDate | FIX 4.4, FIX 4.2 | 11 |
| 486 | DateOfBirth | FIX 4.4 | 1 |
| 490 | CardExpDate | FIX 4.4 | 1 |
| 503 | CardStartDate | FIX 4.4 | 1 |
| 504 | PaymentDate | FIX 4.4 | 1 |
| 541 | MaturityDate | FIX 4.4 | 59 |
| 542 | UnderlyingMaturityDate | FIX 4.4 | 59 |
| 588 | LegSettlDate | FIX 4.4 | 10 |
| 611 | LegMaturityDate | FIX 4.4 | 50 |
| 696 | YieldRedemptionDate | FIX 4.4 | 17 |
| 701 | YieldCalcDate | FIX 4.4 | 17 |
| 715 | ClearingBusinessDate | FIX 4.4 | 12 |
| 739 | LegDatedDate | FIX 4.4 | 50 |
| 743 | DeliveryDate | FIX 4.4 | 1 |
| 866 | EventDate | FIX 4.4 | 59 |
| 873 | DatedDate | FIX 4.4 | 59 |
| 874 | InterestAccrualDate | FIX 4.4 | 59 |
| 915 | AgreementDate | FIX 4.4 | 26 |
| 916 | StartDate | FIX 4.4 | 26 |
| 917 | EndDate | FIX 4.4 | 26 |
| 956 | LegInterestAccrualDate | FIX 4.4 | 50 |
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