The latest version of the IB Gateway (974.4c) now has an Auto Logoff timer (similar to the one from TWS). IB Gateway will automatically log out every day at the specified time.
Looking at the release notes (https://www.interactivebrokers.com/en/index.php?f=36357), it looks like an "Auto Restart" feature is also available but I still haven't found it!
Set TWS/IB Gateway to Auto Restart: Both TWS and the IB Gateway require daily restarts to refresh data. As a convenience, we now offer an auto-restart feature that will restart your application throughout the week and only require a manual restart and authentication once/week, each Sunday. TWS users will find this feature works most effectively with the TWS Offline version.
In IBC, there is already a parameter called "IbAutoClosedown" in the config.ini file:
Set to yes or no (lower case). Only affects TWS, not the Gateway.
yes means allow TWS to shut down automatically at its
specified shutdown time, which is set via the TWS
configuration menu.
no means TWS never shuts down automatically.
Now that the Gateway shuts down automatically too (like TWS), would it be possible to extend this feature to the Gateway such as to prevent automatic shutdown by setting parameter IbAutoClosedown to no?
The latest version of the IB Gateway (974.4c) now has an Auto Logoff timer (similar to the one from TWS). IB Gateway will automatically log out every day at the specified time. Looking at the release notes (https://www.interactivebrokers.com/en/index.php?f=36357), it looks like an "Auto Restart" feature is also available but I still haven't found it!
In IBC, there is already a parameter called "IbAutoClosedown" in the config.ini file:
Now that the Gateway shuts down automatically too (like TWS), would it be possible to extend this feature to the Gateway such as to prevent automatic shutdown by setting parameter IbAutoClosedown to no?