TWSStart 2.x History ******************** 2.6.00 ====== Changes since build 134: ------------------------ - Support for TWS 958.x - New option for "Send eMail on Error or Event" A eMail can be send if the Trader Workstation or IB Gateway has been closed. Note, that no eMail will be send if the application has been closed by TWSStart. - Some internal changes. Bug-Fix: It could happen that the Trader Workstation/IB Gateway settingsfile was not found. Bug-Fix: No installation from IB has been found Changes since build 120: ------------------------ - New option "IBGW4NinjaTrader7" Integrated support for NinjaTrader 7 with IB Gateway. If the option "IBGW4NinjaTrader7" is enabled, NinjaTrader 7 is able to connect to the IB Gateway. For more information, visit the Homepage. Default value is false (disabled). REMARK: Options must be set manually in TWSSTART.INI or using the build in INI Inspector. Changes in version 2.6: ----------------------- - Java 8 or higher recommanded. - Java option "MaxPermSize" (-XX:MaxPermSize) not available anymore. Support has been dropped in Java 8. - Java option "JavaHeapSize" (-Xmx) not available anymore in the TWSStart GUI. It uses the default value from the file "tws.vmoptions"/"ibgateway.vmoptions". - Optimized for TWS installations using the new installer (Install4j from ej-technologies) NOTE: Support for old WISE installations has been dropped. Use TWSStart 2.5 for these installations. - Support for TWS version 952.2 and higher. - Support for "Online" TWS and IB Gateway. NOTE 1: Support is still beta and not all TWSStart options are working with this version. NOTE 2: The value for the Login Timeout ("Configuration" -> "Startup Settings" -> "Timeout After") should be high enough to download an update of the application. - New format of TWSStart.dat and TWSStart.ini file. NOTE: You must re-enter your login data and verfiy the settings. 2.5.00 ====== Changes since build 1086: ------------------------- - Optimized for Java Family 8 - More "Event Log" outputs for better support Changes since build 1064: ------------------------- - Better support on 64-Bit Windows - Support for Java Family 8 - Changes if only 64-Bit Java is installed - More "Event Log" outputs for better support Changes since build 1052: ------------------------- - Changes for option 'Change "Auto Logoff" Time' - Links (IB) updated Changes since build 1046: ------------------------- Bug-Fix: Login failure with certain languages other than English Login failure with IB Gateway Changes since build 1038: ------------------------- - Changes for IB Gateway Version 938 - Links (IB) updated Bug-Fix: Exception in "Language Selection" Changes since build 1002: ------------------------- - Changes for Windows 8 - Changes for TWS Version 929/930/935/936 - Option "Send eMail on Error" (TWSStart Settings) It's now possible to add the current TWSStart Event-Log as attachement. The following 3 lines must be added to the TWSSTART.XML file located in the SendMail subdirectory of the TWSStart installation folder: ... <-- new line <-- new line <-- new line ... If these lines are found, the Event-Log is attached automatically. - New option "LockWorkstation" This option can be used to lock the workstation x seconds after a successfull start and login of the Trader Workstation or IB Gateway. Default value is zero (disabled). See also: "LockOnError" REMARK: Options must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "LockOnError" If the option "LockWorkStation" is enabled and "LockOnError" is enabled the workstation will be locked in case of errors (start failed, login failed, etc.) Default value is false (disabled). REMARK: Options must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "CaptionBtnsHidden" This option hides the buttons (Help, About, Run, Close) in the window title bar. Default is false (buttons are visible). REMARK: Options must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "CaptionBtnsResize" Resizes the high of the buttons in the window title bar for Windows Vista or higher with enabled themes. Default is true (buttons are resized). REMARK: Options must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "LOG_AutoSave" Allows to save the TWSStart Event Log automatically every x seconds (in case there are new events). Default value is zero ("AutoSave" disabled). REMARK: Options must be set manually in TWSSTART.INI or using the build in INI Inspector. - New options "TabsBeforeSendingDataTWS" and "TabsBeforeSendingDataIBGW" These options can be used to define a number of tabulator keys send to the "Login" window before sending the login data (Username and Password). Usefull in case the "Login" window has been changed and another field than the field "User name" has the focus. REMARK: Options must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "UserDefinedJarFile" Allows to define another filename instead of "jts.jar". The file will appear in "JAR File" combobox ("Configuration" -> "Java Settings") if found in the selected folder ("Path to Trader Workstation"). REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "CheckWriteAccess" Since this build, TWSStart verifies during startup if the installation folder has write access. In case the folder is write protected, a warning message is displayed, which will automatically disappear after some seconds. This option allows to suppress the verification process. - Some internal changes. Changes since build 972: ------------------------ - Changes for Java Family 7 - New command line switch /E Defines the name for an environment variable which will contain the process ID of the Java Runtime after the Trader Workstation / IB Gateway has been started and the value "-1" after the process has been terminated. The change is effective immediately for all newly launched applications. It has no effect on pre-existing processes! - New option "UserDefinedJavaAppLauncher" This option allows to define another Java Runtine than "javaw.exe" or "java.exe". For example, you can make a copy of "javaw.exe" to "javaw_ib.exe" in that same directory and use "javaw_ib.exe" instead. REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "Restart immediately" for "Exit Session Settings" This option will restart the Trader Workstation immediately after "End of Session". REMARK: This option is ignored when option "Java Settings" -> "Start IB Gateway" is activated. - New option "ESSExtendedTimeRange" This option extends the time range from +/-1 to +/-5 minutes when estimating the time for "Exit Session". Use it only in case TWSSTART fails often to recognize this event. REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. - New Option "WaitBeforeMinimizeTWS" Time to wait in seconds before TWSSTART sends the "Minimize" command to the Trader Workstation or IB Gateway. Default is 3, minimum is 1 second. REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. - More "Event Log" outputs for better support Bug-Fix: - Exception with alphanumeric TWS version numbers like "923.8a" - Exception in "Send Log" function under certain circumstances - Option "Minimize after Login" in "Startup Settings" not saved Changes since build 966: ------------------------ - Changes for TWS Version 921.5 - Changes for Windows Server 2003/2008/2008 R2 32/64-Bit - New option "IgnoreAuthentication" It happens that TWSSTART could not detect a successful login (mostly when using virtual servers). This option ignores the login timeout error and TWSSTART continues with a "logged in" state. A "SDH Data Handling Method" should be used when activating this option. REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. Bug-Fix: - Exception with Java Family 7 Changes since build 918: ------------------------ - Changes for TWS version 918.x - Changes in the "NDH: Alternate x" data handling methods. - Redesigned popup menu for the tray icon. - New option "Confirm close of TWSSTART" A confirmation dialog will be shown before closing TWSSTART. - New option "IgnoreCapsLockState" Before sending the username/password to the "Login" dialog window TWSStart checks the state of the CapsLock key. This may cause problems when using virtual servers. In this case, this option can be used to disable this check. REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "AutoLoginOff" Disables the "Auto Login" procedure in TWSSTART. Neither the username nor the password are send to the Login dialog window, even if one or both fields are not empty. TWSSTART does wait until the login procedure has finished (username, password, security code entered, etc.) or login has been aborted. NOTE: The real username should be entered in TWSSTART so that TWSSTART can find the Trader Workstation / IB Gateway settings file. TWSSTART may not work as expected if the username is not the real one! REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "ESSForceAutoLogoff" It can happen that the Trader Workstation has become instable and could not close itself at end of session time. In this case this option can force a shutdown. REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. - New "Data Handling Method" "SDH: Alternate 3" (Startup Settings) - New option "Minimize after login" (Startup Settings) Minimize the Trader Workstation or IB Gateway after loggin to the Windows Taskbar. NOTE: The Trader Workstation stores it's own window state on exit and uses this state at the next start. This option only makes sure that the main window is minimized after login. - New option "Minimize after login" (TWSStart Settings) Minimize TWSSTART after Trader Workstation or IB Gateway has logged in. NOTE: This will minimize TWSSTART to the Windows Taskbar. To minimize TWSSTART after login to the tray, option "Minimize to tray" must also be enabled. - Some internal changes. Changes since build 911: ------------------------ - Support for "build in" third-party languages disabled by default. The option "Support Third-Party Translation" (Startup Settings) must be selected to enable the support for "build in" third-party languages or external language packs. Bug-Fix: - Selecting another language than ENGLISH may not work. Changes since build 897: ------------------------ Bug-Fix: - TWSSTART "Title-AddOn" option did not work anymore. - Exception when starting 2 or more instances of TWSSTART on the same computer with option "Activate TWSStart API" enabled. Changes (build 897 and below): ------------------------------ - Changes for TWS Version 916.x - New option "Settings Directory" (Startup Settings) Settings Directory for Trader Workstation / IB Gateway. - New option "Support Third-Party Translation" (Startup Settings) This option enables the support for third-party language packs like the one from Lynx (www.lynx.nl) for Dutch. - New option "Use settings backup file" (Startup Settings) It happens that the Trader Workstation does not create the settings file (TWS.XML). In this case, TWSSTART will automatically copy the last backup file (ex. TWS.THU.XML) to TWS.XML so that the Trader Workstation can start without any modal error dialog. - New "Data Handling Method" "SDH: Alternate 2" (Startup Settings) "SDH: Alternate 1" may cause problems with newer versions of the Trader Workstation or IB Gateway. It's recommanded to use "SDH: Alternate 2" instead. - Options "Exit Session Settings" (Startup Settings) Moved from "Monitor Settings" page to "Startup Settings" page. Press help button in TWSSTART for more information about this option. - New options "Show Abort Restart Dialog" (Monitor Settings) Dialog which allows to Abort the Restart. The dialog waits the number of seconds defined under "Monitor Settings" -> "Trader Workstation" -> "Delay before" "Monitor Settings" -> "Gateway Connection" -> "Delay before" and automatically continues if the Restart has not been aborted. Note, that the dialog is shown only when the number of seconds equal or greater 1. - New options "Disable monitor between" (Monitor Settings) Temporary disable "Monitor Application" and/or "Monitor Connection". - New option "Max permanent generation Size" (Java Settings) This option will add the new Java option "-XX:MaxPermSize=128M" for version 913.x to the commandline. Set value to ZERO to disable this option. - Option "Donīt use DirectDraw" (Java Settings) This option has been removed from the TWSSTART GUI as it should always be enabled (recommanded by IB). The option adds the Java System property "-Dsun.java2d.noddraw=true" to the command line. The name of this option in the TWSSTART.INI is "Java2DNoDDraw". REMARK: Option must be set manually in TWSSTART.INI or using the build in INI Inspector. - New option "Use IB Gateway" (Java Settings) Starts the IB Gateway instead of the Trader Workstation. Version 904 or higher is required. Support for IB API only (not FIX CTCI). NOTE: This option is experimental and not fully supported! - New option "Automatically load TWS" (TWSStart Settings) Trader Workstation or IB Gateway is startet automatically after TWSSTART has been started. NOTE: Press any CTRL key while starting TWSSTART to temporary disable this option. - New option "Save Screen-Shots on Desktop" (TWSStart Settings) Screen-Shots are save on the desktop instead of in the TWSSTART folder. - New option "Screen Magnet" (TWSStart Settings) Magnetize the TWSStart window an edges of screen. - New option "Add 'Title Add-On' as prefix" (TWSStart Settings) Add the "Title Add-On" as prefix to the TWSSTART caption. - New option "Suppress TWSSTART Version" (TWSStart Settings) Does not show the TWSSTART version number in the TWSSTART caption or Windows Taskbar. Enable this option if more space is needed for the "Title Add-On" option. - New option "Send eMail on Error" (TWSStart Settings) For unattended systems. Allows to send an eMail (to another PC or cell phone/ mobile phone) in case of "failed" errors (start, initialization, login, close). TWSSTART uses an open source command line tool to send the eMail. For more information about this tool and how to setup, see the documentation in the new "SendMail" subfolder. Requirements: The tool is based on Microsoft's .net Framework 2.0. - New option "WaitBetweenSendingKeys" (TWSStart Settings) Defines the time to wait in milliseconds between each character send to the "Username" and "Password" field in the "Login" Dialog. Default is 10 milliseconds (min is 10; max is 500). Option must be set in manually TWSSTART.INI or using the build in INI Inspector. - "Startup Settings" / "Java Settings" page All settings on these pages must be set BEFORE starting the Trader Workstation or IB Gateway. - New option "Auto Close Options" (Application Settings) This options defines how external programs are closed. Togehter with TWSSTART or Trader Workstation / IB Gateway. The option is a common option (on the "Common Settings" page) and valid for all external programs. The old option "Close with TWSStart" on the "Close Settings" pasge has been replaced by "Auto Close". Only external programs with "Auto Close" option enabled are closed with TWSSTART or Trader Workstation / IB Gateway. To temporary disable the "Auto Close" option of all external programs, select "Do not close automatically". - New language selection dialog Official support for "Third Party translations". Note that if you choose to use one of these 3rd party translations you agree that IB is in no way responsible for the accuracy, nor for any problems or errors that might result from improper translation from the English version provided by IB (valid also for unofficial languages). - New command line parameter "/S" Loads another TWSSTART configuration file (TWSStart.ini) than the one in the TWSStart folder. Example with full filename: TWSSTART.EXE /S"C:\Jts\TWSStart\1\TWSStart.ini" Example with pathname only: TWSSTART.EXE /S"C:\Jts\TWSStart\1" "TWSSTART.DAT" and "TWSSTART.EPS" files are using the same directory as the INI-file. - TWSSTART application error handler If there is an error during the execution of TWSSTART, the exception log (TWSSTART.LOG) with detailed tech info is now stored in the TWSSTART folder. - For better security, all Links in the TWSSTART settings file (by default TWSSTART.INI) are deleted and now stored in the TWSSTART.URI file. - TWSSTART settings backup file A backup of the TWSSTART settings file (TWSSTART.INI) is created before loading the settings file. The filename of the backup file is "TWSSTART_.INI". - Complete new procedures for Trader Workstation states. *** IMPORTANT CHANGES *** IMPORTANT CHANGES *** IMPORTANT CHANGES *** TWSStart 2.5 requires Trader Workstation version 904 or higher. Latest version supported by Interactive Brokers is recommanded. Itīs also recommanded, that the TWS is started once manually to setup the Trader Workstation / IB Gateway (Trusted IP addresses, API socket port, Prompt when exiting, region, etc.). Option "Prompt on Exit" in the Trader Workstation configuration should be disabled. If not, TWSSTART will not close the TWS in case of errors, until the TWSSTART option "Error Handling -> Kill" is enabled. There will be a warning message in the TWSSTART log file if "Prompt on Exit" option is enabled. Workspace Selection Window is ignored in TWSStart 2.5 or higher. *** IMPORTANT CHANGES *** IMPORTANT CHANGES *** IMPORTANT CHANGES ***