My IB Datafeed Seems to Have Stopped/Slowed Down/Been Blocked. What Is Going On?"

My IB Datafeed Seems to Have Stopped/Slowed Down/Been Blocked. What Is Going On?"

What is clear is that IB's API is throttling your PTF PRO's requests.  They do this sometimes if there are too many requests too quickly.  Then it gets stuck.


If you want to use higher volumes than their basic real-time data package, you may have to add a quote booster pack for $30/month.  They may comp you this charge, depending on your trading volume. Best is to email them, explain the situation, and sign up to a quote booster to see if resolves the issue.  


In order to reset the pacing violation, IB Trader's Workstation can be restarted or one can press Ctrl+Alt+F in the IB TWS window to force TWS to reconnect to its data servers.


Other than that, you can reduce Watchlist size, lengthen the Intraday Update Frequency (we recommend 300 seconds), and turn PTF PRO off for at least 10 minutes then restart.  Here is what IB has to say on the matter:


Historical Data Limitations

The maximum number of simultaneous open historical data requests from the API is 50. In practice, it will probably be more efficient to have a much smaller number of requests pending at a time.


Pacing Violations for Small Bars (30 secs or less)

Although Interactive Brokers offers our clients high quality market data, IB is not a specialized market data provider and as such it is forced to put in place restrictions to limit traffic which is not directly associated to trading. A Pacing Violation1 occurs whenever one or more of the following restrictions is not observed:


Making identical historical data requests within 15 seconds.

Making six or more historical data requests for the same Contract, Exchange and Tick Type within two seconds.

Making more than 60 requests within any ten minute period.

Note that when BID_ASK historical data is requested, each request is counted twice. In a nutshell, the information above can simply be put as "do not request too much data too quick".


Important: the above limitations apply to all our clients and it is not possible to overcome them. If your trading strategy's market data requirements are not met by our market data services please consider contacting a specialized provider.


but importantly...


Note:


1. At this time Historical Data Limitations for barSize = "1 mins" and greater have been lifted. However, please use caution when requesting large amounts of historical data or sending historical data requests too frequently. Though IB has lifted the "hard" limit, we still implement a "soft" slow to load-balance client requests vs. server response. Requesting too much historical data can lead to throttling and eventual disconnect of the API client. If a request requires more than several minutes to return data, it would be best to cancel the request using the IBApi.EClient.cancelHistoricalData function.



    • Related Articles

    • IQFeed Not Loading Intraday Data, Prices Not Updating

      If you are having issues with IQFeed not being able to show data or updating prices, you should check the following: Are the Securities Groups in question created with IQFeed as both the Historic feed and the Quotes feed? See below: Also, can you get ...
    • Alternative Feeds to IB

      PTF PRO calls trade signals onscreen and by email, so you can trade them as they arise through any broker you choose. Our client uses a very wide variety of brokers. You can only semi-autotrade them through IB however. If you don't use IB for data, ...
    • How do I get Futures like ES and NQ into PairTrade Finder PRO?

      To load futures, you will need an Interactive Brokers' datafeed or an IQFeed.  These are the two feeds that can provide real-time futures data into PTF PRO. IQFeed offers a free trial, but limited to 1 year of history.  If you sign up through our ...
    • My software doesn't work. I am getting an error. Can you fix it?

      General Rules for Reporting Issues and Errors. If you are unsure of how to get started installing, activating and beginning to use PairTrade Finder, we highly recommend that you follow our Tutorial videos, User Manual and Video Training Course here: ...
    • Add Brazilian Equities to PairTrade Finder PRO using Interactive Brokers' Datafeed and Semi-Autotrade

      First, ensure you are subscribed to real-time data for BOVESPA at IB. Then, If you can get Brazilian equities into your TWS with real time data, then you can get them into PRO.  It will be a question of syntax, missing an exchange suffix or some ...