Trouble with LT-Bid?

Posts: 1
Joined: Wed Sep 02, 2020 3:55 pm

Trouble with LT-Bid?

Post by craig_westwood » Wed Sep 02, 2020 4:31 pm

On NQ bookmap.  LT-Bid value hugely negative... normal?

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

Posts: 112
Joined: Mon Jun 11, 2018 12:40 pm
Has thanked: 15 times
Been thanked: 33 times

Re: Trouble with LT-Bid?

Post by Serg » Thu Sep 03, 2020 10:06 am

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.

Post Reply