Hello,
This code was working fine for the past few years and up until this week, but
as of today it no longer works:
library(IBrokers)
tws <- twsConnect()
AUDUSD <- twsCurrency("AUD","USD")
Contract <- list(AUDUSD)
bidPrice <- reqMktData(tws,Contract[[1]],snapshot=TRUE)
I tried with other currencies and same issue. When I try with Snapshot=FALSE,
I get error "Your API version does not support fractional size rules. Please
upgrade to a minimum version 163." I reinstalled the API & TWS and now get good
streaming prices.
Does anyone know why snapshot=TRUE not work?
Thanks,
Patrick
[[alternative HTML version deleted]]
_______________________________________________
[email protected] 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.