Just to note:
You only have to "accept API connection" if you have not added your IP
address (127.0.0.1) to "Trusted IP Addresses" in Global Configuration > API
> Settings.
This suggestion comes from vignette("IBrokers")

Best,
Garrett


On Fri, Oct 28, 2011 at 8:08 PM, Noah Silverman <noahsilverman@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@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.
>

	[[alternative HTML version deleted]]

