Amt

base: floatFIX 4.4FIX 4.2

Amt is a FIX datatype defined in FIX 4.4 and FIX 4.2, carried on the wire as float. 34 fields use it.

Wire format

Base type
float
Fields
34

A decimal monetary amount, in the currency named by the message's currency field.

What the specification says

float field typically representing a Price times a Qty

Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.

How @boarteam/fix handles it

@boarteam/fix parses the value as a number and reports parse/invalid-float when it does not lex as one; the raw string is kept so precision and trailing zeros are never lost.

Fields with this datatype

TagFieldDialectsMessages
12CommissionFIX 4.4, FIX 4.216
118NetMoneyFIX 4.4, FIX 4.25
119SettlCurrAmtFIX 4.4, FIX 4.25
137MiscFeeAmtFIX 4.4, FIX 4.29
154AllocNetMoneyFIX 4.4, FIX 4.22
159AccruedInterestAmtFIX 4.4, FIX 4.210
237TotalTakedownFIX 4.45
238ConcessionFIX 4.45
381GrossTradeAmtFIX 4.4, FIX 4.25
396SideValue1FIX 4.4, FIX 4.21
397SideValue2FIX 4.4, FIX 4.21
404LiquidityValueFIX 4.4, FIX 4.21
406FairValueFIX 4.4, FIX 4.22
408ValueOfFuturesFIX 4.4, FIX 4.21
412OutMainCntryUIndexFIX 4.4, FIX 4.21
540TotalAccruedInterestAmtFIX 4.42
708PosAmtFIX 4.44
737AllocSettlCurrAmtFIX 4.42
738InterestAtMaturityFIX 4.45
741AllocInterestAtMaturityFIX 4.42
742AllocAccruedInterestAmtFIX 4.42
746OpenInterestFIX 4.41
766AllowableOneSidednessValueFIX 4.41
858SharedCommissionFIX 4.41
884UnderlyingStartValueFIX 4.459
885UnderlyingCurrentValueFIX 4.459
886UnderlyingEndValueFIX 4.459
890MaturityNetMoneyFIX 4.41
899MarginExcessFIX 4.45
900TotalNetValueFIX 4.45
901CashOutstandingFIX 4.45
920EndAccruedInterestAmtFIX 4.410
921StartCashFIX 4.410
922EndCashFIX 4.410

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