I always get the auto log off alert in Interactive Brokers. I can't seem to figure out where I need to go to disable this. Do you all have the same issue?
smart comment... so i guess if you set it for the night, then you shouldn't trade at night either.... waste of a comment.
Yes, every IB user experiences the same issue since this is "a feature" offered in TWS. Many people request to remove "this feature" off but all failed. It can't be turned off in any way as far as I know, but you can change the logoff time to bypass it. For example, if you set to logoff at midnight. It will pop up a warning before about 5 mins. You simply change the time to 11:55pm to bypass the logoff. If you don't want to do it manually, you need to write a script so it will answer the dialog and change the time for you automatically. Some automation software or scripting language is the way to go.
I've been using the IBController for quite a while to handle the log off issue. You can get it from the IB discussion group on Yahoo (http://finance.groups.yahoo.com/group/TWSAPI/)
Some of our backend software needs to go through required nightly maintenance cycles, which will look like disconnect from TWS side; in addition to that TWS needs to receive some daily control messages which are normally received during login. Please note that forcing TWS to stay open overnight (via IBController or any other application) may cause TWS not to function properly.