The Lab

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is achieved by setting mantissa and exponent values for the relevant SBE datatypes  (DecimalQtyNULL and PriceNULL) such that the original value is preserved.

Info
titleNegative 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



Warning

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

...