IB TWS Workstation (Round the clock running)

Questions about MultiCharts and user contributed studies.
Spaceant
Posts: 252
Joined: 30 May 2009
Has thanked: 1 time
Been thanked: 3 times

IB TWS Workstation (Round the clock running)

Postby Spaceant » 09 Jun 2009

Hi,

I am sure some of you have use other softwares (like TWSStart) to do that. I have tried to use TWSStart, but failed. Could anyone help me the settings by posting the image files to show the settings or PM me?

Regards,

Sa

Spaceant
Posts: 252
Joined: 30 May 2009
Has thanked: 1 time
Been thanked: 3 times

Postby Spaceant » 13 Jun 2009

anyone can help?

janus
Posts: 747
Joined: 25 May 2009
Has thanked: 41 times
Been thanked: 83 times

Postby janus » 13 Jun 2009

anyone can help?


I've written a program that checks if tws is running and if not it will log back into tws. It uses a bunch of Windows gui API calls to make sure the Login window is in focus, etc. I need to test it thoroughly but so far it works fine except for one occasion when the Login screen took too long to come up yet my program said it was up. Stupid Windows is to blame so I need to modify it to make it foolproof. As for the login details I store them encrypted in a file but I like to use a super strength encryption algorithm.

Another idea is to convince IB to log us out once a week not every day. I'd be happy with that without an auto-login program.

brodnicki steven
Posts: 407
Joined: 01 Jan 2008
Been thanked: 3 times

Postby brodnicki steven » 13 Jun 2009

I used to use a macro to login after TWS shutdown, it worked great but now they require a mechanical password generator, how do you get around that ?

User avatar
danilo
Posts: 170
Joined: 02 Jan 2007
Location: Italy
Has thanked: 4 times
Been thanked: 8 times

Re: IB TWS Workstation (Round the clock running)

Postby danilo » 13 Jun 2009

Hi,

I am sure some of you have use other softwares (like TWSStart) to do that. I have tried to use TWSStart, but failed. Could anyone help me the settings by posting the image files to show the settings or PM me?

Regards,

Sa


For me TWSStart (2.4.3.3460) works fine, the specific settings are:

Data Handling Method: "SDH: Alternate 1"

Additional Java Options: "-Dsun.java2d.noddraw=true -Xmx256M jclient/LoginFrame C:\Jts"

Regards,
Danilo

User avatar
TJ
Posts: 6551
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 966 times
Been thanked: 1892 times

Postby TJ » 14 Jun 2009

I used to use a macro to login after TWS shutdown, it worked great but now they require a mechanical password generator, how do you get around that ?



you can opt-out of the device.

just fill up a form at account management.

brodnicki steven
Posts: 407
Joined: 01 Jan 2008
Been thanked: 3 times

Postby brodnicki steven » 15 Jun 2009

I used to use a macro to login after TWS shutdown, it worked great but now they require a mechanical password generator, how do you get around that ?



you can opt-out of the device.

just fill up a form at account management.


*** Thanks TJ !!!!!!!!!!!!!!!!!!!!!

Spaceant
Posts: 252
Joined: 30 May 2009
Has thanked: 1 time
Been thanked: 3 times

Re: IB TWS Workstation (Round the clock running)

Postby Spaceant » 26 Jun 2009

For me TWSStart (2.4.3.3460) works fine, the specific settings are:

Data Handling Method: "SDH: Alternate 1"

Additional Java Options: "-Dsun.java2d.noddraw=true -Xmx256M jclient/LoginFrame C:\Jts"

Regards,
Danilo


Hi Danilo,

1) What is the purpose of using Method: "SDH: Alternate 1"?

2) Where can I set the Java Options?

3) Well, I have experienced a problem - the Username and Password can't be saved properly. When I use TWSStart to open TWS more than one time, say twice, it appears to me that the Username and Password will be stored twice. So, when I re-open TWSStart again, I need to press the "Clear" icon and re-key-in the info again. How can I resolve that?

Regards,

Sa

Emmanuel
Posts: 287
Joined: 21 May 2009
Has thanked: 68 times
Been thanked: 19 times

"you can opt-out of the device." :?:

Postby Emmanuel » 26 Jun 2009

TJ,


What do you mean when wrote :

"you can opt-out of the device." :?:

Emmanuel

User avatar
TJ
Posts: 6551
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 966 times
Been thanked: 1892 times

Re: "you can opt-out of the device." :?:

Postby TJ » 26 Jun 2009

TJ,
What do you mean when wrote :
"you can opt-out of the device." :?:
Emmanuel


this is referring to IB's security device.

that means if you prefer not to have the security device... you don't have to.
it is not mandatory.

User avatar
danilo
Posts: 170
Joined: 02 Jan 2007
Location: Italy
Has thanked: 4 times
Been thanked: 8 times

Re: IB TWS Workstation (Round the clock running)

Postby danilo » 27 Jun 2009

1) What is the purpose of using Method: "SDH: Alternate 1"?

2) Where can I set the Java Options?

3) Well, I have experienced a problem - the Username and Password can't be saved properly.


1 & 2)
Please find attached some picture that show the TWSStart settings.

3)
The login and passwords are saved properly only after a successful login.

Regards,
Danilo

P.S.
my OS is Windows XP, I have never tested TWSStart on Vista
Attachments
TWSStart_Startup.jpg
1) Start-Up settings
TWSStart_Startup.jpg (86.73 KiB) Viewed 565 times
TWSStart_Java.jpg
2) Java Settings
TWSStart_Java.jpg (92.23 KiB) Viewed 564 times

Emmanuel
Posts: 287
Joined: 21 May 2009
Has thanked: 68 times
Been thanked: 19 times

Postby Emmanuel » 27 Jun 2009

TJ :D

I didn't know :shock: I understand now

Thank you very much TJ.
:) :) :)
Emmanuel

tekram
Posts: 96
Joined: 26 May 2009
Has thanked: 6 times
Been thanked: 18 times

Postby tekram » 27 Jun 2009

TJ :D
I didn't know :shock: I understand now
...
Emmanuel
Do you really?

IB STRONGLY URGES our customers to participate in the Secure Transaction Program, although participation is voluntary. Please be aware, however, that if you choose NOT to accept an Identity Token and NOT to participate in the Secure Transaction Program, you must understand and acknowledge that IB will NOT compensate you and will NOT credit your account in the event that your account is compromised by hackers or identity thieves.

Please indicate whether you wish to participate in the Program:

* I WILL participate in the Secure Transaction Program.

* I will NOT participate in the Secure Transaction Program and I
acknowledge that IB will NOT credit my account in the event that my account is compromised by hackers or identity thieves.


If you choose NOT to participate, please sign below:


(FOR ORGS SHOW ORG NAME PLUS NAME OF PERSON WHO IS LOGGED IN BUT ONLY PERSON
NAME NEEDS TO BE TYPED IN)

__________________________________
SIGNATURE BLOCK

Emmanuel
Posts: 287
Joined: 21 May 2009
Has thanked: 68 times
Been thanked: 19 times

Postby Emmanuel » 27 Jun 2009

Hi Tekram,

I understand you loose their insurance, but how can you do to use

TWSSTART with this security mesure ?
:?:

Each time you have to enter manually their code , to start the TWS

How do you keep TWS runnning 24 hours with this security code ? :?:

I can see in the log of TWS, where the question is ask but you still have to enter manually the answer. don't you ? :?:

Emmanuel

tekram
Posts: 96
Joined: 26 May 2009
Has thanked: 6 times
Been thanked: 18 times

Postby tekram » 27 Jun 2009

...
How do you keep TWS runnning 24 hours with this security code ? :?:
...
Try to stay awake once every 12 hours? :shock:

TWSStart has a monitor settings option for bypassing the Auto Logoff Time so you think you can in theory keep TWS running 24/7.

In reality, nobody will trade real money with unattended 24/7 autotrading and IB. Just ask Andrew, I'll bet he won't do it and he must be about a 100x better EL programmer than you or I. IB Server resets and disconnects in addition to TWS and MC errors will always represent a danger of mismatched strategy and server side position.

Spaceant
Posts: 252
Joined: 30 May 2009
Has thanked: 1 time
Been thanked: 3 times

Postby Spaceant » 10 Jul 2009

I have tested the TWSStart with the same settings, but TWSStart just can't change the "Auto Logoff" time to let TWS to run 24 hours a day.

Can anyone help?

Sa

User avatar
TJ
Posts: 6551
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 966 times
Been thanked: 1892 times

Postby TJ » 10 Jul 2009

I have tested the TWSStart with the same settings, but TWSStart just can't change the "Auto Logoff" time to let TWS to run 24 hours a day.
Can anyone help?
Sa



read the instructions again.

read it again if it still does not work.

Spaceant
Posts: 252
Joined: 30 May 2009
Has thanked: 1 time
Been thanked: 3 times

Postby Spaceant » 12 Jul 2009

I have tested the TWSStart with the same settings, but TWSStart just can't change the "Auto Logoff" time to let TWS to run 24 hours a day.
Can anyone help?
Sa



read the instructions again.

read it again if it still does not work.


TJ,

There is no updated instruction. The FAQs don't cover all stuff and the "documentation of TWSStart" in the download area only covers 2.0 (old stuff).

Is there any updated instructions available per your understanding?

Sa

Spaceant
Posts: 252
Joined: 30 May 2009
Has thanked: 1 time
Been thanked: 3 times

Postby Spaceant » 15 Jul 2009

I may have resolved it as TWSStart did change the logoff time last night.

SUPER
Posts: 622
Joined: 03 Mar 2007
Has thanked: 99 times
Been thanked: 80 times

Postby SUPER » 17 Jul 2009

I may have resolved it as TWSStart did change the logoff time last night.


Please can you give info about your settings, it may be useful for other users who may want to try it out.

Regards
Super


Return to “MultiCharts”