¿ªÔÆÌåÓý

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

twsapi exiting overnight...


Stuart Cracraft
 

Hi,

Often in the morning when I check my TWS workstation, it is no longer running the TWS API.

What setting should I disable to keep this up as much as possible.

Thanks ahead.

Stuart


 

I use IBC and the task scheduler du start the TWS every day.


 

¿ªÔÆÌåÓý

Mine just autorestart weekdays, I shutdown on Friday night and start up again on Sunday afternoon. The setting is somewhere on the config menu. I'm not by my machine right now but it's pretty easy. Just turn it on and pick a time for the restart.

dent

On 6/16/21 11:52 AM, Despair wrote:

I use IBC and the task scheduler du start the TWS every day.


 

you need to be more specific. Which one do you interact through? TWS or The IB Gateway? When you say "exited" do you mean TWS or the Gateway shut down? Or that they are up and running but that connectivity dropped between them and your running code instance?