TWS from 10.50: the "TWS update" window at startup
If a TWS or IB Gateway from version 10.50 runs on the computer under Windows, the OptionsApp shows the "TWS update" window at startup from version 2.1. It offers up to two fixes. Only what is confirmed with the checkbox and "Install update" is installed. Without this confirmation the OptionsApp changes nothing.
Why anything is changed in TWS at all: Interactive Brokers requires TWS 10.45 to be updated, it shows a notice to switch to a newer version by 15 December 2026 at the latest. With the newer versions from 10.50 on, we found the two stability problems from section 1 under Windows and reported them to Interactive Brokers. Staying on an older TWS is therefore not a lasting solution. Until Interactive Brokers fixes the problems, the OptionsApp offers the two corrections so that TWS from 10.50 on runs stable.
1. Why the window appears
TWS from version 10.50 has two known stability problems on Windows:
- TWS can close without a message when the display changes, for example when reconnecting via Remote Desktop or when plugging a monitor in or out. This breaks the connection to the OptionsApp.
- On a server operated via Remote Desktop, the nightly restart of TWS can get stuck at the splash screen after the Remote Desktop window has been closed. The OptionsApp then has no connection until the next login.
TWS 10.45 is not affected. The window only names the problems that can occur on that computer.
2. The two fixes
- Java runtime: The OptionsApp downloads a corrected Java runtime and puts it into the TWS installation folder. The original runtime is kept as a backup. The TWS settings stay unchanged.
- Windows task (Remote Desktop only): A Windows task moves the session to the server's console and locks it when the Remote Desktop window is closed. This way the nightly restart of TWS runs as usual. No password is stored.
3. What to do
- Read the notes in the window and tick the checkbox.
- Click Install update. If the Windows task is part of it, Windows asks once for administrator confirmation.
- After the download, the window asks you to close TWS. This is best done outside trading hours.
- Once TWS is closed, click Replace runtime now and then start TWS again. The fix takes effect with this start.
If only the Windows task was set up, there is no need to restart TWS.
4. Later or not at all
Later closes the window without any change, and it appears again at the next start. If Do not show again is ticked, it no longer appears for these fixes. It only comes back when a new fix is open, for example after a TWS update.
Under Settings, in the block TWS update, everything can be installed later. There, Show window at startup again also switches the window back on.
5. Undoing it
Under Settings, in the block TWS update:
- Put original runtime back restores the original Java runtime while TWS is closed.
- Remove Windows task removes the Windows task.
Further articles:
See also: Video 3: Setting Up OptionsApp & TWS, TWS API Settings and Recommended TWS Restart Settings.