NexusFi: Find Your Edge


Home Menu

 





Keep alive TWS 24x6


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one TraderSU with 8 posts (20 thanks)
    2. looks_two arjfca with 4 posts (0 thanks)
    3. looks_3 djkiwi with 2 posts (1 thanks)
    4. looks_4 medias with 2 posts (1 thanks)
      Best Posters
    1. looks_one cusp with 7 thanks per post
    2. looks_two TraderSU with 2.5 thanks per post
    3. looks_3 dennho with 1 thanks per post
    4. looks_4 medias with 0.5 thanks per post
    1. trending_up 20,659 views
    2. thumb_up 30 thanks given
    3. group 19 followers
    1. forum 29 posts
    2. attach_file 4 attachments




 
Search this Thread

Keep alive TWS 24x6

  #21 (permalink)
ankurparikh
Mumbai + Maharashtra/India
 
Posts: 1 since May 2012
Thanks Given: 0
Thanks Received: 0


TraderSU View Post
This tweak fixes the extra ghosty click on TWS ; I call it ghosty because I could never re-produce it but very often I was finding a pending trade on my TWS (caused by an extra left click on bid/ask). Adding an extra messagebox with 10s timeout seems to resolve this issue.

I've included the source code & 32-bit compiled EXE inside the zip for those who don't want to install AutoIt.

Enjoy!


Hi, thanks for your post. I tried attached zip files by extracting. It does not work. My OS is Win 7, 32bit.
Thanks
AP

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Build trailing stop for micro index(s)
Psychology and Money Management
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
Better Renko Gaps
The Elite Circle
 
  #22 (permalink)
 TraderSU 
New York
 
Experience: Intermediate
Platform: NinjaTrader, Custom Platform
Broker: IB
Trading: ES, YM, Currency Futures
Posts: 79 since May 2010
Thanks Given: 46
Thanks Received: 75


ankurparikh View Post
Hi, thanks for your post. I tried attached zip files by extracting. It does not work. My OS is Win 7, 32bit.
Thanks
AP

Zip has two files. Which one did you try? Can you install autoit & try the .au3 version if .exe is not working. What exactly u mean by "not working"? App doesn't launch. It launch but doesn't extend session?

Not enough information to provide you any serious help. Wish I knew telepathy.

Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #23 (permalink)
 NW27 
Newcastle, Australia
 
Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker: IB
Trading: SPI,FTSE100, 6E, 6A
Posts: 285 since Oct 2010
Thanks Given: 108
Thanks Received: 188


Hi
I've actually got two au3 files. One for the normal account the other for the sim account.
I run both accounts at the same time, so both au3 files at the same time.
On the sim account, the am/pm bullets are lower so different coordinates need to be selected.
Neil

Sent from my GT-I9100T using Tapatalk 2

Reply With Quote
  #24 (permalink)
 TraderSU 
New York
 
Experience: Intermediate
Platform: NinjaTrader, Custom Platform
Broker: IB
Trading: ES, YM, Currency Futures
Posts: 79 since May 2010
Thanks Given: 46
Thanks Received: 75


NW27 View Post
Hi
I've actually got two au3 files. One for the normal account the other for the sim account.
I run both accounts at the same time, so both au3 files at the same time.
On the sim account, the am/pm bullets are lower so different coordinates need to be selected.
Neil

Sent from my GT-I9100T using Tapatalk 2

Yes, it goes 20 pixels more on Y co-ordinate as IB TWS will show that red band.

Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #25 (permalink)
TechNova
Los Angeles, CA USA
 
Posts: 1 since Dec 2013
Thanks Given: 0
Thanks Received: 0

I've run the latest au3 file posted on (Windows 7, TWS) using a real trading account (not paper). And when the warning comes up, I get several window pop ups that try to extend the TWS time but then they close. Then TWS shuts off at it's prescribed time...

Is there something I am doing wrong?

Thanks!

Reply With Quote
  #26 (permalink)
 NW27 
Newcastle, Australia
 
Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker: IB
Trading: SPI,FTSE100, 6E, 6A
Posts: 285 since Oct 2010
Thanks Given: 108
Thanks Received: 188

I have noticed that my TWS is also closing down. I think this started to happen after the latest TWS update.
I suspect it is that the prompt is coming up in a different location. I will have to watch it and see what the mouse does.
Neil.

Reply With Quote
  #27 (permalink)
 bon1025hk 
new york
 
Experience: Beginner
Platform: tradestation
Trading: gold
Posts: 9 since Nov 2011
Thanks Given: 47
Thanks Received: 3

any update?

i turned on TWS_KeepAlive , but the IB TWS still turn off

Reply With Quote
  #28 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91


djkiwi View Post
Hi. I couldn't get TWSstart to work even after emailing the developer who was very helpful by the way. I am not sure why. I have no problems with IB Gateway and works like a charm. It never logs me off. How it gets around the security card issue is it edits the TWS API and sets the auto logoff 5 minutes back. So you never get the 5 minute warning because it has automatically changed it for you via code.

Cheers
DJ

If I recall, TWSSTART does not support the security card. Can't remember where it is mention.
Good luck
Martin

Reply With Quote
  #29 (permalink)
 emini_Holy_Grail 
Dallas,TX
 
Experience: Intermediate
Platform: NinjaTrader, OpenQuant
Broker: Zaner/Zen Fire
Trading: ES,6E,6B,GC,CL
Posts: 597 since Nov 2009
Thanks Given: 176
Thanks Received: 126


TraderSU View Post
Sure - but I recommend restarting the app weekly once. App may get funky if you don't do that...

i see this is 3 yrs old thread, but checking if anyone have issues like mine
when doing swing trades for weeks, months, how can you reboot TWS once a week,and how would you sync strategy and open positions. I used Ninja's sync acct position=true, but it is messy, as it closes and reopen new orders

Reply With Quote
  #30 (permalink)
 bmveee 
New York
 
Experience: Intermediate
Platform: NinjaTrader
Broker: InteractiveBrokers
Trading: ES, CL, GC, 6E, 6S
Posts: 6 since Oct 2015
Thanks Given: 13
Thanks Received: 5



emini_Holy_Grail View Post
i see this is 3 yrs old thread, but checking if anyone have issues like mine
when doing swing trades for weeks, months, how can you reboot TWS once a week,and how would you sync strategy and open positions. I used Ninja's sync acct position=true, but it is messy, as it closes and reopen new orders

Hello everyone,

New to the forum, first time poster - i have the same question - how does one go about resynching without having to close/open and have the strategy run right away instead of waiting to close a virtual position. Also trading through TWS and find it to be a huge PITA with it's 24 hour close nag.

Reply With Quote




Last Updated on October 30, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts