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
| Tag | Field | Dialects | Messages |
|---|---|---|---|
| 12 | Commission | FIX 4.4, FIX 4.2 | 16 |
| 118 | NetMoney | FIX 4.4, FIX 4.2 | 5 |
| 119 | SettlCurrAmt | FIX 4.4, FIX 4.2 | 5 |
| 137 | MiscFeeAmt | FIX 4.4, FIX 4.2 | 9 |
| 154 | AllocNetMoney | FIX 4.4, FIX 4.2 | 2 |
| 159 | AccruedInterestAmt | FIX 4.4, FIX 4.2 | 10 |
| 237 | TotalTakedown | FIX 4.4 | 5 |
| 238 | Concession | FIX 4.4 | 5 |
| 381 | GrossTradeAmt | FIX 4.4, FIX 4.2 | 5 |
| 396 | SideValue1 | FIX 4.4, FIX 4.2 | 1 |
| 397 | SideValue2 | FIX 4.4, FIX 4.2 | 1 |
| 404 | LiquidityValue | FIX 4.4, FIX 4.2 | 1 |
| 406 | FairValue | FIX 4.4, FIX 4.2 | 2 |
| 408 | ValueOfFutures | FIX 4.4, FIX 4.2 | 1 |
| 412 | OutMainCntryUIndex | FIX 4.4, FIX 4.2 | 1 |
| 540 | TotalAccruedInterestAmt | FIX 4.4 | 2 |
| 708 | PosAmt | FIX 4.4 | 4 |
| 737 | AllocSettlCurrAmt | FIX 4.4 | 2 |
| 738 | InterestAtMaturity | FIX 4.4 | 5 |
| 741 | AllocInterestAtMaturity | FIX 4.4 | 2 |
| 742 | AllocAccruedInterestAmt | FIX 4.4 | 2 |
| 746 | OpenInterest | FIX 4.4 | 1 |
| 766 | AllowableOneSidednessValue | FIX 4.4 | 1 |
| 858 | SharedCommission | FIX 4.4 | 1 |
| 884 | UnderlyingStartValue | FIX 4.4 | 59 |
| 885 | UnderlyingCurrentValue | FIX 4.4 | 59 |
| 886 | UnderlyingEndValue | FIX 4.4 | 59 |
| 890 | MaturityNetMoney | FIX 4.4 | 1 |
| 899 | MarginExcess | FIX 4.4 | 5 |
| 900 | TotalNetValue | FIX 4.4 | 5 |
| 901 | CashOutstanding | FIX 4.4 | 5 |
| 920 | EndAccruedInterestAmt | FIX 4.4 | 10 |
| 921 | StartCash | FIX 4.4 | 10 |
| 922 | EndCash | FIX 4.4 | 10 |
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