Requesting all available contracts via IB API - IB Trader Workstation | futures io social day trading
futures io futures trading


Requesting all available contracts via IB API
Updated: Views / Replies:994 / 5
Created: by DarkPoolTrading Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Requesting all available contracts via IB API

  #1 (permalink)
 Vendor: diversifyportfolio.com 
PTA, Gauteng
 
Futures Experience: Advanced
Platform: Self built + Sierra + TWS
Favorite Futures: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,304 received

Requesting all available contracts via IB API

Does anyone know if it is possible to get a list of all available contracts via the IB API based on certain search criteria?

To get the contract details for a single contract, you would use reqContractDetails(reqId, contract) with the relevant contract that you are interested in. That will return the contract details for the one instrument that was specified. However what if I want a list of all available stocks on a certain exchange. Or what if I wanted all available cfd's on a certain exchange, etc.

I would have thought I could use the same reqContractDetails method and simply leave out the symbol name,...thereby requesting all symbols. But that doesn't work.

Surely you don't have to already know all of the symbols on a certain exchange? There must be a way to request a list via the api?

If that is not possible, is it possible to do a search like this from within TWS and then export the results to csv? eg: all available cfd's.

Mike, if im not mistaken you use the API. Do you know if this is possible? @Big Mike
Or anyone know how to do this from within TWS and export a csv? (all I need are the symbol names)

@yunakhan1 @dimkdimk @BrazilForever @Ian Lavoie @Harvard @sam028

Diversification is the only free lunch
Reply With Quote
 
  #2 (permalink)
Elite Member
Sweden
 
Futures Experience: Intermediate
Platform: Multiple
Favorite Futures: Multiple
 
Posts: 31 since Jun 2009
Thanks: 66 given, 25 received

There is an active TWSAPI group on Yahoo . Try there.
https://groups.yahoo.com/neo/groups/TWSAPI/info

Reply With Quote
The following user says Thank You to platon for this post:
 
  #3 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,221 received


I've never tried, I use IQFeed for that.

You can try emailing Josh Ulrich, he wrote the iBroker module for R: josh.m.ulrich@gmail.com

I would also email IB directly.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #4 (permalink)
Elite Member
Milan (I)
 
Futures Experience: Advanced
Platform: Ninjatrader
Broker/Data: Kinetick
Favorite Futures: FDAX,6E,CL,YM,NQ,ES
 
redratsal's Avatar
 
Posts: 1,653 since Oct 2010
Thanks: 1,217 given, 2,067 received

You can use this Web search and create your own csv
IB Contract Information Center

Use the advanced tab to filter

Reply With Quote
The following user says Thank You to redratsal for this post:
 
  #5 (permalink)
 Vendor: diversifyportfolio.com 
PTA, Gauteng
 
Futures Experience: Advanced
Platform: Self built + Sierra + TWS
Favorite Futures: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,304 received


Big Mike View Post
I've never tried, I use IQFeed for that.

You can try emailing Josh Ulrich, he wrote the iBroker module for R: josh.m.ulrich@gmail.com

I would also email IB directly.

Mike

Thanks Mike,

I have been a happy IQFeed customer for about 2 weeks now and am updating my db from them. That part all works well. Unfortunately because I predominantly trade cfd's and IB currently only offers +-1800 cfds, I need a way to be kept up to date with which cfd's they offer, and what the corresponding underlying symbol is (from iqfeed).

Thanks, ill look into the iBroker module for R.

Unfortunately I have already contacted IB directly via support email and they are beyond useless. Perhaps they are so useless because im still a prospective client, getting most of my development and integration sorted out with their demo before opening a live account. I just need to get to a point where I know what I want to do is possible, then I will open an account with them.

Their answers to me are vague, uninformed and completely missing the point of what I am actually asking. Either i've unluckily kept getting responses from someone who has only worked there for a week and doesn't know anything, or they think that because I haven't opened an account with them yet, I don't deserve to be answered with the correct details.

I truly hope their service is better for actual customers.

Thanks again, ill look into the R option.

Diversification is the only free lunch

Last edited by DarkPoolTrading; August 1st, 2015 at 05:14 AM.
Reply With Quote
 
  #6 (permalink)
 Vendor: diversifyportfolio.com 
PTA, Gauteng
 
Futures Experience: Advanced
Platform: Self built + Sierra + TWS
Favorite Futures: Stocks and Options
 
DarkPoolTrading's Avatar
 
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,304 received


redratsal View Post
You can use this Web search and create your own csv
IB Contract Information Center

Use the advanced tab to filter

Thanks, im familiar with the search option. After further digging around and asking elsewhere online it seems like this is going to be my only option. Far from ideal!

I'll look into the R option suggested by Mike. But failing that, it looks like I have to manually create csv files every couple days from their website and see if any additions/changes etc have been made. Such a waste of time and completely reliant on them keeping their website constantly up to date.

Diversification is the only free lunch
Reply With Quote

Reply



futures io > > > > Requesting all available contracts via IB API

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advise for trading options with a IB api? deachne Options on Futures 13 November 7th, 2016 03:21 PM
Language choice for IB API allthewayne The Elite Circle 11 January 31st, 2015 07:07 AM
Ninja + IB error in requesting historical data MarcMaes Reviews of Brokers and Data Feeds 2 August 2nd, 2014 10:19 PM
Retreiving fundamental data from IB API yali812 IB Trader Workstation 0 February 5th, 2014 09:49 AM
IB API to slow aczk Reviews of Brokers and Data Feeds 5 December 6th, 2013 10:45 PM


All times are GMT -4. The time now is 07:21 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-13 in 0.10 seconds with 19 queries on phoenix via your IP 54.196.182.102