Attribute · financialTransaction.trade
tradeAmount
financialTransaction.trade.tradeAmount
From the standard
- Description (EN)Positief bedrag van de transactie in de valuta waarin de belegging luidt; richting volgt uit buySellId
- Typenumber · multipleOf 0.01
- Example value10000 · 10000.08
In messages
| Message | V/O |
|---|---|
| 00541 · Trade instruction | Optional |
| 00542 · Order confirmation | Mandatory |
Errors and fixes
- tradeAmount and tradeQuantity both filled or both empty (message 5)Fill per transaction either an amount or a quantity; in a switch let one order steer and leave the other empty. The WTP Data Lab validator tests both rules, per order and per switch pair.
- tradeAmount or tradeQuantity negativeAmounts and quantities are always positive; the direction is in buySellId.
- tradeQuantity × tradePrice is not tradeAmount (message 6)Compute the amount from quantity and price and round to cents; book costs and interest in commissionAmount and interestAmount, not in tradeAmount. The validator allows a difference of half a cent plus half a millionth per unit, because the price is rounded at six decimals. SIVI's own sample computes 102 × 98.04 = 10000.08.
