Building your own program to live trade with IB?

You need to be subscribed to the data for each of the markets your interested in. So if you're an individual who wants NASDAQ and NYSE then that's $3 ($1.50+$1.50), prices vary obviously.

I thought a market subscription is around $10 USD per month
 
$10 if you don't meat the minimum commissions. Anyway, these amounts are small, not really worth fussing over.
 
Where did you get most of the coding information to connect with IB and other related stuff? Thx.
I started with the example programs which were provided by IB. And used these to make some experimental programs myself. While doing I found better ways on how to structure and arrange my programs. I am running automated systems in Java. They collect the necessary data (account data, instrument price data, etc), do calculations and place orders if necessary. Looking back I would say that this core setup is the easy part. The more complicated part is handling errors: what do you do if a certain piece of information is missing? If a connection is lost or a server offline? What do you do if a received value seems incorrect? How do you handle exceptional cases? How about holidays, or timezone changes (e.g. daylight savings time)? It is these kind of things that took me the most time to understand, get used to, and know how I want my system to respond to. This will obviously depend a lot on your trading style and on how you want your system to respond, so general guidelines are difficult to give.
 
What programming language do you use with ib api and why?
Java. I got the impression that it was the most advised choice at the time I started playing with IB's API (some 6 years ago). Besides that, I had close to zero programming experience and Java was considered a good choice for newbie programmers at the time.
 
If I want to get historical data, do I need to pay monthly subscription fee for that market? How about if I want to test real time performance with demo account?
Yes, you need to subscribe to market data. You only need to pay for the market you are interested in.
 
I thought a market subscription is around $10 USD per month
Depends on which market you are interested in. Each market sets its own price and IB forwards that price to the customer. In my opinion are markets in Europe and Australia expensive, and markets such as Singapore and Korea cheap. US stock market is also cheap.
 
I started with the example programs which were provided by IB. And used these to make some experimental programs myself. While doing I found better ways on how to structure and arrange my programs. I am running automated systems in Java. They collect the necessary data (account data, instrument price data, etc), do calculations and place orders if necessary. Looking back I would say that this core setup is the easy part. The more complicated part is handling errors: what do you do if a certain piece of information is missing? If a connection is lost or a server offline? What do you do if a received value seems incorrect? How do you handle exceptional cases? How about holidays, or timezone changes (e.g. daylight savings time)? It is these kind of things that took me the most time to understand, get used to, and know how I want my system to respond to. This will obviously depend a lot on your trading style and on how you want your system to respond, so general guidelines are difficult to give.

Sound like you spent a lot of time on it. Profitable result after 6 years of development?
 
Back
Top