So the new TWS brings a new user interface, and a new beta API. Since the last release I have rolled in several bug fixes reported on the forums, and I have converted all prices over to decimals from doubles. I’ve never understood why IB’s version uses doubles, but finally we should be rid of rounding errors on prices.
In any case, this release has incorporated all of the changes with IB’s 9.51 release, the decimal conversion, and a series of bug fixes.
As always, goto the utilities page to download here, or download directly from here.
Hi There Karl,
Thankyou for such a useful library!
Not sure if this a general API question.
Is there some reason why I can’t find MarketToLimit (MTL) orders in the OrderTypes enum?
Could I just add it to the list in OrderTypes?
Thanks in Advance
Hello Gumphrie,
No reason that I know of. I have not used this order type, so I had not tested it. Give it a try, buy make sure you set the correct abbreviation in the description field. If it works, submit me a patch and I will update it,
-Karl
Hello. I was wondering why a thread based implementation is considering superior to just using the IB ActiveX Control? Does using ActiveX affect the ability to write threaded programs?
Thank you.
Andy
sorry – correction on my last post.
I was wondering why a SOCKET based implementation
Hi, I found your blog on this new directory of WordPress Blogs at blackhatbootcamp.com/listofwordpressblogs. I dont know how your blog came up, must have been a typo, i duno. Anyways, I just clicked it and here I am. Your blog looks good. Have a nice day. James.
Thanks for the wonderful works!
I read the source codes and thought it has a wrapper of the unmanaged code at beginning. may c#/C be a better option? I don’t know. But it looks to me is better in the Software engineering view. But current one is a teriffic too. Save my life to re-invent the wheel.:P
Thanks for this great api.
One small question – how can i send a request for FUNDAMENTAL_RATIOS. I can’t seem to find a dedicated request only the tick type used for the answer. Is it missing a GenericTickType or a function?
This is such a wonderful tool.
Thanks do much for all you efforts in creating this is C#. It will be very helpful going forwards for developers interfacing with IB.
When connected to TWS using the edemo account I’m getting a new message type in the ProcessMessage and it’s throwing an InvalidCast exception. TWS is returning ApiPending as an OrderStatus. I’ve added it to the OrderStatus enum and recompiled and it seems to have fixed the problem. You may wish to update your API. Thanks for the great work.
the chm link is not working. appreciate if you can look into it
do you guys have a recommendation section, i’d like to suggest some stuff
Nothing yet, send me an email and I’ll create one.