IB real time data lag

Discussion in 'Interactive Brokers' started by dakr, Apr 13, 2020.

  1. dakr

    dakr

    Have been running some tests using TWS API to get price bars. Tried a few variations including the 5 second realtime bar:

    http://interactivebrokers.github.io/tws-api/realtime_bars.html

    In all cases there is a 5-6 second lag before the latest bar is available.

    Does this have anything to do with my account not being a pro account? Or is it just the time required for IB to assemble the bar data?

    Even using live market data, i.e. current ask/bid/last prices had significant delays.
     
  2. 2rosy

    2rosy

    what source are you comparing to?
     
  3. where do you live? Ping is also relevant.
     
  4. dakr

    dakr

    Noticed that it's not uncommon for the streaming last price to lie outside the corresponding low/high prices of the bar chart. However it lies within the low/high of the next bar.
     
    Last edited: Apr 13, 2020
  5. dakr

    dakr

    Australia. I doubt this will cause a 5 second delay.
     
  6. ZBZB

    ZBZB

    what server are you connected to? What do you trade?

    https://ibkr.info/article/2816

    in the second box you have all the server addresses. Ping them and then decide if you have to change the server you are connected to.
     
  7. dakr

    dakr

    Thanks. I'll give this a try. Looking at currencies at the moment.
     
  8. dakr

    dakr

    Pinged all the TWS servers. Worst case was only 0.5 secs, well short of the lag I'm seeing.

    If you're using live streaming I take it you are not seeing this kind of lag?
     
  9. ZBZB

    ZBZB

    what server are you connected to?
     
  10. ZBZB

    ZBZB

    #10     Apr 13, 2020