[R-SIG-Finance] IBrokers reqOpenOrders

me me at censix.com
Mon Feb 13 18:09:34 CET 2012


I am guessing, but this error looks like it is related to the actual
connection you are trying to establish with the TWS. 

I have been using reqOpenOrders() without problems for a
while now.

Cheers

Soren



On Mon, 13 Feb 2012 12:27:47 +0000
Sash Ali <sashinali79 at hotmail.com> wrote:

> 
> 
> 
> 
> 
> 
> 
> Hi folks,
> 
> I've been using the IBrokers package to automate placing market,
> stop, and limit orders into my trading account. However, I have a
> number of stop and limit orders that have not been hit and would like
> to automate the canceling of these.
> 
> I am unable to find the required tools in the IBrokers documentation
> or on forums. However, I have discovered a brief mention on this
> forum on the 'reqOpenOrders' function but I can find only limited
> information on how to use it. 
> 
> I have tried the following,
> 
> tws <- twsConnect(clientId=1);
> IBrokers::reqOpenOrders(tws)
> 
> However, the output is 
> 
> Error in e_tick_size(NULL, msg, timestamp, file, symbols, ...) : 
>   argument "file" is missing, with no default
> 
> - which I do not understand.
> 
> I would be grateful for any help.
> 
> Sash
> 
> 
>  		 	   		  
> 	[[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