Quote from Babak:
ok thanks for the basics...now how would one set about learning and putting that stuff into action?
are there some good web resources? books? etc...
again...TIA
For an API like IB's Java or C++ API, there's a bit of a learning curve, because you have to learn how to write an application in Java or C++ or VB first. If you want to go that route, best bet is to use any of the countless introductory books, or for Java specifically, Sun's got a great tutorial that will give you the basics at
http://java.sun.com/docs/books/tutorial/. The second step would be to learn how to use IB's API to connect to and manipulate IB, for which I would advise to just take a look at someone else's code...either IB's samples, or some of the code freely available on the web. IB has sufficient documentation in the TWS User's Guide and there's alot of info in the discussion forums on the API. But be forewarned...this is the long approach. IB's API is decently sophisticated and learning to write an application well enough that it doesn't have bugs takes time. And having bugs in trading software can get expensive...
edit: m_c_a98 is right...VB would be easier to learn than Java or C++ for coding with the API, but would still be more difficult, imho, than going the excel+DDE route.
The best route for a beginner to programming is to use DDE and Excel. You can do some pretty sophisticated things with Excel, including buttons and all sorts of interactive stuff. Again, the best route is to get a book on using excel, and then take a look at things other people have done and play around. I know there's a lot of excel spreadsheets out there that use IB's DDE link. If you download the API from IB's website, I believe there's a sample one called "TwsDde.xls". Doing something this route would be far easier and probably more robust.
For the DDE, here are some links to check out:
http://groups.yahoo.com/group/twsapi/
http://hometown.aol.co.uk/nqtraderman/myhomepage/business.html