Message-ID: <2A4E715F-B7F9-4AE7-AD9D-0B25F8FCE182@gmail.com>
Date: 2011-10-29T01:54:24Z
From: Jeff Ryan
Subject: IBrokers TWS quits daily
In-Reply-To: <58D53556-7820-422C-90D1-D59E8954A85E@ucla.edu>
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.