The Lab

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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 differ in that whilst negative quantities are supported (used in pre-trade allocations), this is not the case for prices, which must always be positive.

Examples below:


ValueMantissaExponent
1.234512345-4
1.23123-2
1.230012300-4
123.0012300-2
0.00012341234-7
100000010000000
1567234.56156723456-2
-0.01-1-2
-500000-5000000
000


These datatypes differ from the equivalents defined in The Whisperer Classic SBE3 Schema, which defines fixed scalings for each.

  • No labels