IB TWS automatic login

Discussion in 'Interactive Brokers' started by rdqis, May 11, 2004.

  1. rdqis


    I am looking for a way for IB TWS to automatically login using my username and passwd each time it is started.
    Anybody know how to do this.

  2. I use Macroexpress, if you're interested I can send you the script that I made for it.
  3. rdqis


    Thanks Sam. I'll get Macro Express and try it out. Will contact you if I can't get it to work with TWS.
  4. Here's a copy of what I wrote to startup TWS with Macroexpress. The first line points to a shortcut to start Trader Workstation. I found it too hard to point to the actual program file name to start TWS since you have to start Java at the same time. I have the <ESC> in the third line to get around the request to update TWS every couple of weeks. There are other ways and programs to start up TWS, you can search here or on the IB discussion forum.

    Program Launch: "Trader Workstation 4.0.LNK"
    Delay 25 Seconds
    Text Type: <ESC>
    Wait For Window Title: "New Login"
    Activate Window: "New Login"
    Text Type: username
    Delay 2 Seconds
    Text Type: <TAB>
    Delay 2 Seconds
    Text Type: password
    Text Type: <ENTER>
    Wait For Window Title: "Universal Account"

    ..........add some lines to start up your charting program etc.
  5. rwk