Was there a recent change that IB now actually supports running
the tws for one week without manual auth. every day ?
I remembered discussions end of last year that IB would drop this
feature for security reasons.
Or is it just IBC that can handle this mode correctly now ?
Am 23.01.2023 um 17:34 schrieb Jonathan
S:
toggle quoted message
Show quoted text
The restart command works (on Ubuntu) for me and
skips the 2FA!
This is great for the occasionally needed mid-week restart.
Thanks again, Richard.
Awesome Richard! Can¡¯t wait to try it.
On 20 Jan 2023, at 18:58, Richard
L King <rlking@...>
wrote:
?
I¡¯ve just released version 3.16.0
of IBC to GitHub. You can download it here:
?
?
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.
?
Note that for Gateway, and for
TWS versions before 1018, using the RESTART command
will alter the configured AutoRestart time to the
time that the command was carried out. To prevent
subsequent auto-restarts at that time, ensure that
the AutoRestartTime
or AutoLogoffTime
setting in config.ini
is set as desired.
?
Additionally, the following
changes have been made:
?
- the description of
running IBC under Task Scheduler on Windows has
been corrected
?
- the ReadOnlyLogin
setting in config.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 the GatewayStart.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 on GitHub
?
- a number of
clarifications have been made to the comments 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)
?
Linux & macOS
?
gatewaystart.sh
(or gatewaystartmacos.sh)
twsstart.sh (or twsstartmacos.sh)
?
Richard
?