Thanks again. I am sorry I missed the bit about currencies the first time.

On Tue, Oct 11, 2011 at 10:28 AM, Johnny Paulo <johnny.jp.22@gmail.com>wrote:

> Hi,
>
> Thanks to the IBrokers' package, I managed to get RT data for almost
> everything except Forex data:
>
> if using the same code that works for equities and futures, I just use
> twsCurrency("EUR"), R comes back with:
>
> Error in socketSelect(list(con), FALSE, NULL) : invalid connection
> Error in writeBin(.twsOutgoingMSG$CANCEL_MKT_DATA, con) :
>   invalid connection
>
> after a while.
>
> Does anyone know why?
> Is there anything special about the twsCurrency contract?
>
> Regards
>
> Johnny
>

	[[alternative HTML version deleted]]

