开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

How to get a list of symbols of all product available?


 

Hi,

Is there a way to get symbols for ALL products are offered? including stocks, forex, options, bond. If not for all, is it possible to query to get list of all products within an exchange?

If conid and ISIN can also be pulled that would be great.

Thanks,


 

Any suggestions on this?

1- I know from previous thread that symbol *lookup is not possible and search by company name is not possible. BUT is there absolutly no way to get IBKR full list of available products through their API? I rather not resort to scrapping their website.

2- Where can I find a potential complete list of IBKR products where someone else might have posted on the web or if anyone has done this and can share with me by private message?

Thanks,


 

Could it be possible by using a market scanner with parameters lax enough to fetch all (or categorized) available contracts?


 

I'm using reqMatchingSymbols to get symbols. You send in a string pattern (e.g., 'A' or 'AA') and you will get back a list of about 16 contract_descriptions in the symbolSamples callback for symbols that start with the pattern. Each description includes the symbol, conId, secType, primaryExchange, currency, and a list of derivative types. So, no way to get all of them at once, nor a way to get them by exchange, but at least a way to get all of them a few at a time. From there, you can reqContractDetails to get more information such as the exchanges.?? ?


 

I realize this is an old thread, but in case anyone is interested, I compiled a database table of?113,728 contracts available through IBAPI's reqMatchingSymbols, dumped it to an SQL file and put it up on gitlab. It can be downloaded here:

https://gitlab.com/jwbwater/ib-contracts


 

It's very weird that the TWS API doesn't provide this information but, fortunately, this information is actually available at without any authentication. Here is a very simple scraper I wrote to pull this info:
?
?