Interactive Brokers API using R .

http://www.r-bloggers.com/introducing-ibrokers-and-jeff-ryan/

 

reference: https://cran.r-project.org/web/packages/IBrokers/IBrokers.pdf