[R-SIG-Finance] IBrokers TWS quits daily

Jeff Ryan jeff.a.ryan at gmail.com
Sat Oct 29 03:54:24 CEST 2011


Hi Noah,

The TWS will automatically log you out. That is the way it works. 

If you want a continuous session, try the IB Gateway. Basically a low resource GUI-less application. This will stay up for as long as you need. 

HTH
Jeff

Jeffrey Ryan    |    Founder    |    jeffrey.ryan at lemnica.com

www.lemnica.com

On Oct 28, 2011, at 8:08 PM, Noah Silverman <noahsilverman at ucla.edu> wrote:

> Hi,
> 
> Not directly related to R, but I'm hoping someone here has solved this.
> 
> My TWS client quits every day at the same time.  I can even see an option to pick what time of the day for it to quit.  
> 
> However, I would like to keep my system running continuously.  When the TWS quits, my R instance Hangs, and I need to quit R, restart TWS, restart R, re-execute my script, then re-accept the connection in TWS.  Not only is this a pain, but If the system were live, I couldn't ever miss a restart time.  
> 
> Automating this with a series of scripts might be possible, but the "accept API connection" step in TWS must be physically clicked.
> 
> Any thoughts?
> 
> --
> Noah Silverman
> Smart Media Corp
> 
> 
> 
> --
> Noah Silverman
> UCLA Department of Statistics
> 8117 Math Sciences Building
> Los Angeles, CA 90095
> 
> 
>    [[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list