Skip to navigation

Market Data Lines

View as Markdown

Understanding Market Data Lines

All users at Interactive Brokers are given a set amount of market data lines. Market data lines dictate how much market data can be retrieved simultaneously from a given user. After going over the market data line cap, any future requests would return an error message that additional market data lines are required.

In the case of the TWS API, this includes all data pulled through Trader Workstation watchlist and the API.

In TWS, if you want to know how many data lines are being used, you can click the following buttons to show current used market data lines.

Windows/ Unix/ Linux: Click “Ctrl” + “Alt” + ”=”

MacOS: Click “CMD” + “OPT” + ”+”

End users from IB IBroker clients which use CP API + DAM SSO still have this limitation: each IBroker end-user can get up to max >= 100 data lines. However, the limit is on a per session basis per IP Address. For details, please contact IB DAM team.

Example

The username is provisioned for 100 market data lines. If the TWS Watchlist is displaying 50 symbols in their watchlist, and one API connection is retrieving 25 market data lines, that means a second API connection could retrieve a maximum of 25 additional market data lines before reaching the 100 market data line limit.

An example of the Market Data Lines window in Trader Workstation

How Market Data is Allocated

In order to receive real-time market data, customers must be a subscriber to market data. All clients initially receive 100 concurrent lines of real-time market data (which can be displayed in TWS or via the API) and always have a minimum of 100 lines of data. After the first month of trading, the quantity of market data is allocated using the greater value of:

  • USD monthly commissions divided by 8
  • USD equity multiplied by 100 divided by $1,000,000 (rounded down to the nearest integer)
  • 100

Example 1

In month two, your account shows the following values: USD Monthly Commissions: $16, USD Equity: $950,000
Using the calculations above, you would still receive the minimum 100 lines of data, since:

  • Commissions: $16/8 = 2
  • Equity: $950,000 / 10000 = 95

As 100 is the greatest of these values, you are left with 100 market data lines.

Example 2

In month three, your account shows the following values: USD Monthly Commissions: $500, USD Equity: $1,245,000
Using the calculations above, you would receive 124 lines of data, since:

  • Commissions: $500/8 = 62.5
  • Equity: $1,245,000 / \10000 = 124.5, rounded down to 124.

As 124 is the greatest of these values, you would have 124 market data lines.

Specialized Market Data Lines

Given the potentially high amount of data being sent, market depth and tick data requests are more limited. Just as with historical data requests, the amount of active depth or tick requests are related to the amount of market data lines:

Number of market data linesTick By Tick DataMax Market Depth (Level II)Number of subscribed Quote Booster packs
100530
101 – 2001031
201 – 3001532
301 – 4002033
401 – 5002544
501 – 6003055
601 – 7003566
701 – 8004077
801 – 9004588
901 – 10005099
1001 – 1100551010
1100+60-50011 – 60special offer
Tick By Tick market data lines scale at 5% of total market data lines. The values shown in the table above are for approximations.