Hi. I couldn't get TWSstart to work even after emailing the developer who was very helpful by the way. I am not sure why. I have no problems with IB Gateway and works like a charm. It never logs me off. How it gets around the security card issue is it edits the TWS API and sets the auto logoff 5 minutes back. So you never get the 5 minute warning because it has automatically changed it for you via code.
As far as I know, TWSSTART does not work with TWS that use the security card. I did not read about any new version, but mine 18.104.22.1682 does not allow it.
I don't use the security card so TWSSTART work like a charm for me
Did you check the port: TWS and IBGAteway does not use the same. Look i=n your TWS api configuration and match the same value on TWSSTART. Also, make sure the the Java is in the appropriate subdirectory
TWSStart has many great features but I've strict reservation against feeding my login id & password into any third party app. I may consider it if author makes the source-code public. But that's just me and my little schizophrenia.
Last edited by TraderSU; April 25th, 2012 at 12:22 AM.
Thanks Martin, I thought that was the case with TWSStart. Therefore I did get it to work but it was not suitable for my needs. I much prefer the simple IB gateway solution whereby it just resets the autologoff time 5 minutes back. This way we don't have to mess with the security card numbers. Logging Ninja off each night and then logging back on was a real PITA.
Also TraderSUs reservations are quite valid. In fact that is one reason I like IB. I'm quite risk averse and much prefer the security code system of IB over the other brokers I use. Imagine if a malicious hacker got your user name and password and logged into your futures account and wrecked havoc placing trades and drained your account. You would have no recourse whatsoever.
Also if you use ninjatrader IB keeps orders live on their system whereas the others don't so if your PC goes down you could be in serious problems as you will have unfilled orders even if you have been stopped out during the outage. IB is the only broker that has adequate risk controls in my view although I'm now off topic again.
Last edited by djkiwi; April 24th, 2012 at 02:13 PM.
The following user says Thank You to djkiwi for this post:
You can do the same thing with Autohotkey which has a very similar syntax. I originally got this code from someone on the Sierra Chart support board; it's not original.
The script is:
I have attached a compiled version for anyone who doesn't want to install authotkey itself. Its in a zip because I don't think you can add exe's to the board. If you want to check its running press Ctrl WindowsKey Alt and 1 to get a message box.
The following 7 users say Thank You to cusp for this post:
This tweak fixes the extra ghosty click on TWS ; I call it ghosty because I could never re-produce it but very often I was finding a pending trade on my TWS (caused by an extra left click on bid/ask). Adding an extra messagebox with 10s timeout seems to resolve this issue.
I've included the source code & 32-bit compiled EXE inside the zip for those who don't want to install AutoIt.
Last edited by TraderSU; May 4th, 2012 at 07:51 PM.
The following 7 users say Thank You to TraderSU for this post: