






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]]

