[R-SIG-Finance] IBrokers Problem

Michael Smith my.r.help at gmail.com
Mon Dec 9 14:27:30 CET 2013


All,

I'm trying to better understand how to use the IBrokers package by going
through the `IBrokers.pdf` vignette. I'm using the demo version of TWS
(login `edemo`). TWS seems to be running fine. However, I get stuck at
the following command from the vignette:

reqContractDetails(tws, twsEquity("QQQQ"))

R just seems to hang and I don't get any further response. My
sessionInfo is below. I'm using the most current IBrokers from Google Code.

Am I doing something wrong, or is this not supposed to work with the TWS
demo version?

Thanks,
Michael


> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-redhat-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
LC_TIME=en_US.utf8
 [4] LC_COLLATE=en_US.utf8     LC_MONETARY=en_US.utf8
LC_MESSAGES=en_US.utf8
 [7] LC_PAPER=en_US.utf8       LC_NAME=C                 LC_ADDRESS=C

[10] LC_TELEPHONE=C            LC_MEASUREMENT=en_US.utf8
LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] IBrokers_0.9-11 xts_0.9-7       zoo_1.7-10      colorout_1.0-1

loaded via a namespace (and not attached):
[1] grid_3.0.2      lattice_0.20-24 tools_3.0.2



More information about the R-SIG-Finance mailing list