[R-SIG-Finance] Fteching options data using package IBrokers and interactivebrokers

amol gupta amolgupta87 at gmail.com
Sun Jun 25 10:09:43 CEST 2017


I have been trying to fetch contract details and finally fetch contract
historical data. I have been able to do it with stock futures but I have
been failing with options. Here is a very small snippet.

c<-twsOPT(local = 'HDFC17JUN1780CE',strike = 1780, right = 'C',
          currency = 'INR',primary = 'NSE',multiplier = 1,
          conId = 271618757)

Warning message:
In reqContractDetails(tws, c) : error in contract details

are the contract details. Please help me figure out what am I doing wrong.


	[[alternative HTML version deleted]]

More information about the R-SIG-Finance mailing list