New answers tagged interactive-brokers
You'll want the ibrokers package, its very good and built on the c++ api. Also check out quantmod, performanceanalytics, quantstrat, and highfrequency package.
You'll want to adjust the contract inputs you're sending to IB secType should be CASH, exchange should be IDEALPRO, and add in whatToShow = "MIDPOINT" or "BID" or "ASK"
Top 50 recent answers are included