FIX 4.2

The FIX 4.2 dictionary as shipped in @boarteam/fix-dict-fix42. Messages announce it in BeginString (tag 8) as FIX.4.2.

What it contains

Fields
405
Messages
46
Components
2
Datatypes
21

No component blocks

FIX 4.2 predates component blocks: its dictionary declares only the standard header and trailer, and inlines every other field group directly into each message. A FIX 4.2 message body is therefore much flatter than the equivalent FIX 4.4 one, even where the fields are identical.

Decode FIX 4.2 in TypeScript

decode.tsts
import { createFixEngine } from "@boarteam/fix";import { dictionary } from "@boarteam/fix-dict-fix42";const fix = createFixEngine(dictionary);const { message, issues } = fix.parse(raw);message.beginString;   // "FIX.4.2"issues;                // FixIssue[] — never an exception

Compared with the other version

See FIX 4.4 vs FIX 4.2 for the renamed fields, changed datatypes and enum differences between them.

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-fix42