3.16.0
This release provides additional support for Auto-restart in TWS and Gateway, for all current TWS/Gateway versions (ie 1012 onwards). Auto-restart is not supported when used with earlier TWS/Gateway versions.
IMPORTANT If you are currently using an IBC version earlier than 3.15.2, you are strongly advised to upgrade to this version.
The main enhancement is the provision of a RESTART command that can be sent to IBC's command server. This causes TWS/Gateway to auto-restart without the user having to re-authenticate. Note however that this command cannot be used to bypass the need to do full second-factor authentication on Sundays. A new Windows script, Restart.bat
is provided. This script, and the revised Stop.bat
script, both use a new user-customisable SendCommand.bat
script to identify the IBC instance to be stopped or restarted.
Additionally, the following changes have been made:
-
the description of running IBC under Task Scheduler on Windows has been corrected
-
the
ReadOnlyLogin
setting inconfig.ini
now works properly in cases where the user has only a security code card but not IBKR mobile (fix Issue #190) -
the
StartTWS.bat
script on Windows has been improved to allow the colours used for the banner window to be specified (as was previously enabled for theGatewayStart.bat
script). This could be used for example to easily distinguish between the banner windows for live and paper trading instances -
various code improvements have been made - see the commit history
-
a number of clarifications have been made in the start scripts and in
config.ini
HOW TO UPGRADE
The safest way to upgrade is to first to rename your existing IBC folder (eg to IBC.old) and then create a new one. Then download the relevant zip file and extract the files, as for a new installation (as described in the User Guide). Then re-apply any changes you previously made to the following files, On Linux, remember to set execute permission on the scripts.
All platforms:
config.ini
Windows only
StartTWS.bat
StartGateway.bat
SendCommand.bat
(new file in this release, needs customisation as per the old Stop.bat
which is no longer used)
Linux & macOS
gatewaystart.sh
(or gatewaystartmacos.sh
)
twsstart.sh
(or twsstartmacos.sh
)