The Lab

Versions Compared

Key

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

...

Info
titleNegative values

Note that DecimalQtyNULL and PriceNULL may both be used to represent negative values:

Negative quantities are differ in that whilst negative quantities are supported ( used in pre-trade allocations to denote the opposite allocation direction vs the net direction for the leg as a whole), this is not the case for prices, which must always be positive.

Negative prices are used to represent pre-Spot Forward Points, where appropriate.

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

...