This Add-on displays the Ask side of the DOM. Video with the Addon running:
It is based on SampleAddon from NinjaTrader_Jesse:
When I create a new tab page looks like if past data remain on memory. ES 12-15 must have ten ladders, but has twenty.
This bug doesn't occurs when the addon starts, but when a new tab page is created.
(If an addon is already displayed and a new addon is created, the bug appears too.)
Snapshots from the debugging:
Here is when the addon is created for first time. marketDepth.Asks.Count = 0. Correct.
Here the following times. marketDepth.Asks.Count = 20. Incorrect.
I attach the code.
Thanks.
Comment