Whisperer Enterprise honours the implied precision of all prices and quantities passed between Client and Venue.
This is achieved by setting mantissa and exponent values for the relevant SBE datatypes (DecimalQtyNULL and PriceNULL) such that the original value is preserved.
Negative values
Note that DecimalQtyNULL and PriceNULL may both be used to represent negative values:
Negative quantities are used in pre-trade allocations to denote the opposite allocation direction vs the net direction for the leg as a whole).
Negative prices are used to represent pre-Spot Forward Points, where appropriate.
Examples below:
| Value | Mantissa | Exponent |
|---|---|---|
| 1.2345 | 12345 | -4 |
| 1.23 | 123 | -2 |
| 1.2300 | 12300 | -4 |
| 123.00 | 12300 | -2 |
| 0.0001234 | 1234 | -7 |
| 1000000 | 1000000 | 0 |
| 1567234.56 | 156723456 | -2 |
| -0.01 | -1 | -2 |
| -500000 | -500000 | 0 |
| 0 | 0 | 0 |
These datatypes differ from the equivalents defined in The Whisperer Classic SBE3 Schema, which defines fixed scalings for each.
Overview
Content Tools