IB Charts Not Displayed Correctly or Contain Incorrect Data

What Happened?

AgenaTrader displays a warning popup indicating:

  • Charts are partially incorrect or contain faulty data.

  • Historical data is missing, and charts are not updating (ticking).

What Does This Mean?

IB API Limitations on Historical Data Requests

  • The maximum number of simultaneous historical data requests via the IB API is 50.

  • You should ensure that you have fewer simultaneous requests to avoid issues.

Pacing Violations for Small Bars (≤ 30 Seconds)

  • A pacing violation occurs if you exceed one of the following limits:

    • Identical historical data request within 15 seconds.

    • Six or more historical data requests for the same contract, exchange, and tick type within two seconds.

    • More than 60 requests within 10 minutes.

Warning: If too many historical data requests are made, you may be disconnected from the IB API. ➡ For more details on IB pacing violations for small bars, refer to this IB article.


Important Notes

📌 1 instrument across 3 time frames = 3 historical requests 📌 1 Analyzer Escort column = 1 historical request 📌 Watchlists, backtest lists, indicators, and alerts also require historical data.


Possible Solutions

Reduce the number of instruments and historical requests sent to the IB server.

  • Monitor the green connection bar in the lower left corner of AgenaTrader.

Wait 10 minutes before requesting additional historical data.

  • Be cautious: Reloading data may cause another historical overflow.

Consider an external data feed (often paid services).

  • Check the data feed overview here.

📌 This also applies to CapTrader, Banx, Lynx, and other brokers using the TWS API connection.

Last updated