Hello, I am testing algorithm live on IBKR account and for some reason bars we get in real-time are a little bit different from what is visible in TWS, usually a couple of ticks difference, but it is a bit annoying because algorithm can behave differently because of this and it is a pain to debug. 

Do you know why this happens and if it is possible to avoid?

Also, quick related question: are ticks marked as suspicious if IBKR data is used? I suppose no, but to confirm…