Can OnTick() miss incoming ticks?
Can OnTick() miss incoming ticks?
15 Aug 2014, 18:58
Is it possible that OnTick() handler in cBot misses some incoming tick if OnTick() still executes when the tick arrives?
Also I have seen a situation that when viewing two identical 1-tick charts in two separate instances of cTrader, a tick was missing in one instance and present in another. Are there are kind of throttling in cServer when it sends (or does not send) ticks?
Replies
AlexanderRC
18 Aug 2014, 15:16
RE:
Spotware said:
Also I have seen a situation that when viewing two identical 1-tick charts in two separate instances of cTrader, a tick was missing in one instance and present in another.
Tick chart shows all received ticks. Do you compare two instances of cTrader from the same broker?
Yes, cTrader was from the same broker and both instances were usung the same account. But that was observed around half a year ago. Unfortunately, I do not have a screenshot.
@AlexanderRC
Spotware
18 Aug 2014, 16:14
RE: RE:
AlexanderRC said:
Spotware said:
Also I have seen a situation that when viewing two identical 1-tick charts in two separate instances of cTrader, a tick was missing in one instance and present in another.
Tick chart shows all received ticks. Do you compare two instances of cTrader from the same broker?
Yes, cTrader was from the same broker and both instances were usung the same account. But that was observed around half a year ago. Unfortunately, I do not have a screenshot.
Next time when you observe this problem please press Shift+Ctrl+Alt+T in both platforms. It will send us troubleshooting information.
@Spotware
Spotware
18 Aug 2014, 10:06
Our platform puts all incoming ticks to the queue. When we handle items from the queue we apply all collected ticks to MarketSeries, but invoke OnTick handler only for last tick. Therefore, OnTick handles only latest known ticks.
Tick chart shows all received ticks. Do you compare two instances of cTrader from the same broker?
No, there is no throttling in cServer.
@Spotware