I've developed a framework to record ticks arriving in OnMarketData.
So i expect to see in my files at most the ticks arriving in Ninja, but I happen to see more, meaning all ticks are not processed by the ninja main engine, that stores ticks and plots bars.
Ninja export file, I exported after the day
20101123 153533;1182;33
20101123 153533;1182;2
20101123 153533;1182;1
20101123 153533;1182.25;30
20101123 153533;1182.25;1
20101123 153534;1182.25;25
20101123 153535;1182;1
20101123 153535;1182;2
My file, that record ticks in OnMarketData method (do not take the 2nd column in account)
101123153533 1 1182 33
101123153533 1 1182 2
101123153533 1 1182 1
101123153533 3 1182.25 30
101123153533 3 1182.25 1
101123153534 1 1182 1
101123153534 3 1182.25 1
101123153534 3 1182.25 5
101123153534 3 1182.25 5
101123153534 3 1182.25 25
101123153535 1 1182 1
101123153535 1 1182 2
as you see in my file I have more ticks, the 1,1,5,5 before 25
I ran Qcollector to get a backfill of the day, here is the QCollector file:
15:35:33 1182 33
15:35:33 1182 2
15:35:33 1182 1
15:35:33 1182,25 30
15:35:33 1182,25 1
15:35:34 1182 1
15:35:34 1182,25 1
15:35:34 1182,25 5
15:35:34 1182,25 5
15:35:34 1182,25 25
15:35:35 1182 1
15:35:35 1182 2
So there are 4 ticks missing in Ninja database, but correctly captured by the engine running in OnMarketData()
Example 2 :
Ninja export :
20101123 155915;1178.25;20
20101123 155915;1178.25;2
20101123 155915;1178.25;2
20101123 155915;1178.25;1
20101123 155915;1178.25;1
20101123 155915;1178.25;3
20101123 155915;1178.25;3
20101123 155915;1178.25;3
20101123 155915;1178.5;40
20101123 155915;1178.5;34
my file
101123155915 1 1178.25 20
101123155915 1 1178.25 2
101123155915 1 1178.25 2
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 3
101123155915 3 1178.25 3
101123155915 3 1178.25 3
101123155915 3 1178.25 3
101123155915 3 1178.25 3
101123155915 3 1178.25 5
101123155915 3 1178.25 2
101123155915 3 1178.25 93
101123155915 3 1178.25 48
101123155915 3 1178.25 60
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 3
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 2
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 2
101123155915 3 1178.25 2
101123155915 3 1178.25 2
101123155915 3 1178.25 1
101123155915 3 1178.25 1
101123155915 3 1178.25 2
101123155915 3 1178.25 1
101123155915 3 1178.25 5
101123155915 4 1178.5 29
101123155915 4 1178.5 1
101123155915 4 1178.5 1
101123155915 4 1178.5 2
101123155915 4 1178.5 2
101123155915 4 1178.5 2
101123155915 4 1178.5 1
101123155915 4 1178.5 2
101123155915 4 1178.5 2
101123155915 4 1178.5 1
101123155915 4 1178.5 2
101123155915 4 1178.5 1
101123155915 4 1178.5 1
101123155915 4 1178.5 1
101123155915 4 1178.5 1
101123155915 4 1178.5 16
101123155915 3 1178.5 1
101123155915 3 1178.5 3
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 2
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 10
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 16
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 8
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 2
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 1
101123155915 3 1178.5 10
101123155915 3 1178.5 1
101123155915 1 1178.5 5
101123155915 1 1178.5 1
101123155915 1 1178.5 1
101123155915 1 1178.5 1
101123155915 1 1178.5 40
101123155915 1 1178.5 34
Qcollector :
23/11/10 15:59 1178,25 20
23/11/10 15:59 1178,25 2
23/11/10 15:59 1178,25 2
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 3
23/11/10 15:59 1178,25 3
23/11/10 15:59 1178,25 3
23/11/10 15:59 1178,25 3
23/11/10 15:59 1178,25 3
23/11/10 15:59 1178,25 5
23/11/10 15:59 1178,25 2
23/11/10 15:59 1178,25 93
23/11/10 15:59 1178,25 48
23/11/10 15:59 1178,25 60
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 3
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 2
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 2
23/11/10 15:59 1178,25 2
23/11/10 15:59 1178,25 2
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 2
23/11/10 15:59 1178,25 1
23/11/10 15:59 1178,25 5
23/11/10 15:59 1178,5 29
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 2
23/11/10 15:59 1178,5 2
23/11/10 15:59 1178,5 2
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 2
23/11/10 15:59 1178,5 2
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 2
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 16
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 3
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 2
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 10
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 16
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 8
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 2
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 10
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 5
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 1
23/11/10 15:59 1178,5 40
23/11/10 15:59 1178,5 34
And there are other examples...
So it seems all the ticks arrive to OnMarketData() on an indicator, but they do not all arrive to the main processing engine ..
In the chart I send, there is an indicator that plots the difference between the full ninja volume of the day, and the full volume of my file for the day. Up to 15:58 the difference is virtually nil, but there are a few bursts of misses, and at 16:30 we're missing 3k contracts on ninja charts.
If I click on "reload historical data", the charts updates, and all the error nearly disappear (we're left with -6 contracts difference)
What do you think ?
Comment