Bob, Yes, you can use it for more than one TWS at the same time. What you do is create separate directories for each instance of IBController you want to run and enter your login information in the .INI file under each respective directory.
Hey Asterix, thanks for this fine upload. I took a quick look at the code, I have a not too vague idea of how it works. So far I can launch TWS and log in automatically ...yay! Any chance to upload a version that contains the code to close that nasty "order confirmation" window so I don't have to learn Java in 48 hours ..lol. i bet that would come in handy to a lot of IB (not coders) users. not to mention Mac users Thanks again
Sure. Here is the modified jar file (rename it to *.jar . I could only attach .zip). Try with this. The only reason I did not attach the modified version before, because the one click trading is not configurable in the config file. Beware, if you run TWS with this version of ibcontroller, it will push the "Transmit" button in any window of TWS which is titled "Order confirmation". You will not even see the window if your pc is not slow. Since, I don't know how others use their TWS, I did not want to harm anybody with the modified version. But it works for me. I only use the fx trader and booktrader alongside. If it does not work for you I can upload the modified src files too and you can build your jar file on windows. Asterix.
It works perfectly! Faster than my "workaround. You still can see for a fraction of a sec the window but it's really a blink and I can see that it's not the mouse clicking on the "transmit" button, much much better this way. Plus it handles "accepting connection" for API and all that jazz. Very very useful for Automatic Trading develop. Really cool to see what's going on behind the scene with that "command prompt" window. Thanks to you and the guy who developed the base for this lil jewel
Great! I sent my modification to the guy who maintains the ibcontroller, so he can include it in the next "official" release. Asterix.
Sorry to be a pain but when I try and run IBController I just get the jts.ini file could not be read?
Check if it is in your path. I guess the IBJts dir is somewhere else than what you set in you ibcontroller startup file.