Quotes and charts

Why some historical data is unavailable in TWS

Quick answer

IBKR cannot supply every old price series. Check the product, dates, and bar size against its data limits. For example, bars of 30 seconds or less are not offered beyond six months. A gap can be a data limit rather than a fault in TWS.

Educational software guidance. Trading involves risk. Read the financial and information disclaimers.

Step by step

  1. 1 Confirm you requested the intended contract rather than a newer expiry.
  2. 2 For a TWS chart, open Edit → Chart Parameters and note Time period and What to show. For an API request, record those inputs from the app log instead. The app can use different values.
  3. 3 Compare the request with IBKR’s unavailable-data list.
  4. 4 Try a smaller supported interval to separate availability from a connection problem.
  5. 5 If the interval should exist, send the exact query and response to support.

A practical example

Suppose you choose an old option that expired long ago. Its name may still look valid in your saved list, but the history you want may no longer be offered. Write down the full contract and date range. Then compare them with the broker’s data limits. You can also test a short recent range on a known valid product to check that the link works. That second test does not create the old data, but it helps show that a missing dataset and a broken link are not the same issue.

Illustrative scenario, not a record of a trade placed during this review.

Screen reference

TWS Chart Parameters showing time period, data type, bar type, volume, VWAP and session controls
Compare Time period and What to show first. Additional Data and Features contains Volume and VWAP of the bar. Chart Time Options contains the extended-hours and user-time-zone controls. The dialog was closed with Cancel; no settings were applied. Captured in TWS paper mode on 3 October 2026. Open the image for full size.
TWS 30-second candlestick chart with the Edit menu and time axis
This chart is an example of the chart window. It is not evidence of a live feed, a particular API request, or a trading signal. Use Edit → Chart Parameters to inspect its inputs. Captured in TWS paper mode on 3 October 2026. Open the image for full size.
Help, Troubleshooting, Diagnostics menu leading to API Logs
In this build, follow Help → Troubleshooting → Diagnostics → API Logs. Upload Diagnostics is a different action. Captured in TWS paper mode on 3 October 2026. Open the image for full size.
TWS View Logs dialog with View Logs, Export Logs and Export Today Logs buttons
This session has no recorded API logs in the list, so export buttons are disabled. Enable API logging before the event you need to capture. No log was exported or uploaded for this screenshot. Captured in TWS paper mode on 3 October 2026. Open the image for full size.
How to confirm the result You should either receive the supported interval or identify a documented data limit.

Mistake to avoid

Do not fill missing bars with invented prices and present them as broker history.

Common questions

Can an expired contract lose available history?

Availability varies by product and time since expiry. Check the official limit.

Will more memory recover unavailable bars?

No. Local memory cannot create data the service does not offer.

Financial and information disclaimers

Financial disclaimer

These guides explain software. They are for education, not financial, investment, tax, or legal advice. No example is a suggestion to buy or sell a product or use a trading strategy. Trading can lose money, including all funds you put at risk. With margin, futures, short sales, or some options, losses can exceed your starting funds. Automation can fail, send duplicate orders, or act late. Stops do not guarantee a fill or a price. Review your orders and positions, and seek advice from a qualified professional for your own needs. Paper trades, examples, and past results do not predict live results or promise a profit.

Information disclaimer

This is general help based on the sources and check date shown on the page. Screens, settings, fees, data access, and product support can change or differ by app version, account, country, and broker. The content may contain errors or become out of date; accuracy, completeness, and continuous service are not guaranteed. Check current broker and app instructions before acting. Screenshots show where controls are; they do not prove that an order test passed. This guide does not replace broker terms or risk notices. References to IBKR and TradingView identify their products and do not imply their endorsement of this guide.

IBKR risk disclosures · IBKR paper-trading limits · SEC guidance on automated investment tools

PickMyTrade help · Independent guidance for Trader Workstation and the desktop integration. TWS images show paper trading. Other applications are named in the image captions. Settings and availability can vary by version and account.

Automate TradingView alerts to Interactive Brokers

See the IBKR integration