Page 1 of 1

Trouble with LT-Bid?

Posted: Wed Sep 02, 2020 4:31 pm
by craig_westwood
On NQ bookmap.  LT-Bid value hugely negative... normal?

LT-Pro settings.jpg
LT-Pro settings.jpg (47.23 KiB) Viewed 5097 times
LT-Bid wierdness.jpg
LT-Bid wierdness.jpg (37.95 KiB) Viewed 5097 times

Re: Trouble with LT-Bid?

Posted: Thu Sep 03, 2020 10:06 am
by Serg
Hi Craig, we are already testing the fix for this problem and broken layout of size filters panel. Hopefully, it will be published today.

Just in case anyone is interested in more details: How a sum of positive values can become negative? In short, it would be too heavy performance-wise to compute a weighted sum of all price levels on every update anywhere in the book. Therefore we use a couple of math tricks (specific to exponential function) to compute this sum dynamically: instead of recomputing from scratch, the sum is updated based on its previous value and the new update in the book. However, under certain conditions this may lead to arithmetic underflow, specifically, there are not enough bits in the 64-bit number. There is a mechanism purposed to take care for such situations, but apparently it had too optimistic settings. Now it's hopefully fixed.