¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: TWS freezes several times a day


 

¿ªÔÆÌåÓý

Well, the log file looks perfectly normal. Since you haven¡¯t given any information about what you mean by TWS freezing, or the circumstances when it occurs, there¡¯s really nothing I can do.

?

If the TWS user interface freezes, there is nothing at all that IBC can do about it.

?

And if you restart TWS, then full login with 2FA is mandatory. Every time. That is IBKR policy and again there¡¯s nothing IBC can do about it.

?

You need to find out what¡¯s causing the freezing. I can¡¯t help with that either.

?

Having said all that, I notice something in your logfile that¡¯s almost certainly not correct. You have AcceptIncomingConnectionAction=manual in your config.ini. Is this really what you want? It means that any time something tries to connect to the API, a pop-up window will be displayed and you have to manually accept the connection.. Until you accept it, the API client that is trying to connect will not be able to proceed. Perhaps that¡¯s what is happening? From the API client¡¯s point of view it looks like TWS is not responding, whereas in reality it¡¯s just waiting for you to do something. (However I don¡¯t see any evidence of this in the logfile.) Read the comments in config.ini for this setting for further advice on this.

?

So report your problem to IBKR with as much information about the circumstances as possible.

?

?

From: [email protected] <[email protected]> On Behalf Of linkblock123
Sent: Thursday, April 11, 2024 11:08 PM
To: [email protected]
Subject: [ibc] TWS freezes several times a day

?

Hi my tws live account freezes several times a day and requires my phone to authenticate in order to re-start, this is quite annoying when you want to run automated algorithmic trading.? Attached is the IBC log file.? Any solution for this?? Thanks.

Join [email protected] to automatically receive all group messages.