IB API documentation

If you were to make two requests for the same contract, with one originating from an API client and the other from the TWS, this would count as two separate market data feeds. API clients have no way to access the currently requested data on the TWS.
 
Quote from IB-Mike-API:

If you were to make two requests for the same contract, with one originating from an API client and the other from the TWS, this would count as two separate market data feeds. API clients have no way to access the currently requested data on the TWS.
I hope IB would consider changing this sometime in the future. From an outsiders viewpoint it really doesn't make a lot of sense for TWS and API to use separate tick streams for an instrument.
 
dcraig,

Is that an issue for you because of the number of issues you follow, or because of differences in the data sent to TWS vs your charting program?

I admire your work in Jcharts so much I've been thinking of working up my Java programming to be able to do something similar, and would like to know what issues I might face (apart from a lot of work learning how to do it!).
 
I just saw this new PDF today. I am having it printed today. Thanks a lot!

Quote from IB-Mike-API:

We here at Interactive Brokers realize that the current documentation is no longer adequate to meet the needs of many of our API customers and we are currently taking steps to correct this. On November 30, 2006 we released the first installment of our new TWS API Beginners Series.
http://www.interactivebrokers.com/en/software/apiBeginners.php?ib_entity=llc
Be sure to click on the "Send us your feedback" link at the bottom of the page to send us your comments.

There will be a number of these guides released in the coming months to cover the various sample applications that we provide. Also each release of the guide will be followed shortly after by a full revision to our function reference guides that already exist within the Application Program Interface section of our TWS user’s guide.
http://www.interactivebrokers.com/php/webhelp/webhelp.htm#Interoperability/DDE_Configure_TWS.htm
 
Hi,

I am not familiar with APIs, but wanted to know if there is a possibility to a place bracket orders automatically with only entering a price. The orders then will appear in TWS.

For example:

I want to generate a bracket order for the emini SPX future (ESH7) with predifined parameters (+-6) from an entered price. For ESH7
will be + - 6pts from the entered price (1400).

1) The API will ask me a price for the ESH7
2) I type in 1400
3) the Api generates the follwoing orders:

Buy ESH7 @ 1394.00
Sell ESH7 @ 1396.00 (bracket order)

Sell ESH7 @ 1406.00
Buy ESH7 @ 1404.00 (bracket order)

I do not want the stop loss of the bracket order.Is this possible?
How should I do it with VBA, java? Could someone show me the correct path...

Regards

JB
 
I do not know of any good documentation for the API that hasn't already been provided. However, if you are looking for tutorials to show you how to connect to the TWS in c++,java,visual basic, or c# then I recommend this website. http://www.stockbotprogramming.com

The tutorials are rather basic, but make it really simple to get connected and started with the API. After getting connected, it should be fairly straight forward to make other API calls from just reading the TWS API documentation.

Tutorials detailing more complex aspects of the api such as getting quotes, historical data, placing orders.. etc should be up on that page in the next few weeks.
 
It was very nice of you responding to 6 year old threads. So giving of your time.

Quote from fullautotrading:

I did look. This topic does not "expire" (fortunately).
 
Back
Top