I have not much else to add other than the title. I simply need the name of the function.
Asked
Active
Viewed 95 times
-1
-
See @brian's answer below, and also this tutorial might be useful to get you to that stage: https://www.youtube.com/watch?v=gdQ_svOV7kc – jared_mamrot Aug 30 '20 at 00:19
1 Answers
1
Are you familiar with the documentation? Check pg 18.
https://cran.r-project.org/web/packages/IBrokers/IBrokers.pdf
tws <- twsConnect()
contract <- twsEquity("QQQQ","SMART","ISLAND")
reqMktData(tws, contract)
Look at pg 8 to see how to handle incoming data.

brian
- 10,619
- 4
- 21
- 79