A small desktop launcher for the Interactive Brokers Trader Workstation (TWS) and IB Gateway. It starts TWS or Gateway, fills in the login automatically, shows a live status per connection, and starts or stops several instances at once — including multiple installations or versions side by side.
The convenient path from a double-click to a logged-in trading platform: add a connection → one-click launch with automatic login → keep the live status in view → stop everything at once when needed.
Start TWS or Gateway per connection — or as a batch over all ticked connections (Start Default / TWS / Gateway). Multiple installations and versions run happily side by side.
Username, password and the Live/Paper tab are filled into the TWS/Gateway login dialog automatically. Login-window detection is language-independent.
Passwords are stored encrypted (Fernet / AES) with a key bound to the local machine (Windows MachineGuid). The config cannot be decrypted on a different machine.
Detects TWS (by window title) and Gateway (by its API port) system-wide — including instances started in an earlier session or externally. Three honest states per connection: stopped / starting / running.
English, German, French, Spanish, Italian, Russian, Dutch, Portuguese, Simplified Chinese and Japanese — with national-flag icons in the language menu. Covers the languages TWS itself ships in.
A colored trace panel shows each step live; plus rotating file logs (5 MB, auto-purged after 3 days). Everything stays local on your machine.
TWSStarter does not restart anything by itself. To keep TWS or Gateway online around the clock, use TWS's built-in Auto Restart: instead of the daily logoff, TWS restarts itself at a set time — the session and API stay alive.
TWS → Configuration → Lock and Exit → Auto Logoff Timer → set the restart time and select Auto Restart.
The UI and launching work cross-platform; autofill and status detection are Windows-only (they use the Win32 API). Prebuilt binaries for Windows and Linux are provided.
Python 3.13+ and uv for dependencies (PyQt6, cryptography, pyautogui, pywinauto). Run uv sync, then uv run python -m twsstarter.main.
Everything is stored per-user and local: %LocalAppData%\TWSStarter\config.json (settings and connections) plus rotating logs. No telemetry, no cloud.
MIT License — © 2024–2026 trade-commander.de. Open source, free, commercial use allowed. The full source is public on GitHub.
TWSStarter is open source (MIT) and free. Prebuilt Windows and Linux builds and the full source code live on GitHub.