Skip to content
Prev 14253 / 15274 Next

Trying to Extract Option Quotes with R

Joshua and Frank,

Thanks for your responses. I am using version 3.2.2 of R. I 
installed/reinstalled jsonlite and curl. I still get the same problem. I 
then updated my version of quantmod. After doing this, I ran the command:

	getOptionChain( "XOM", Exp=NULL )

and  I got the message:
Error in data.frame(Strike = strike, Last = lastprice, Chg = change, Bid 
= bid,  :
   object 'contractsymbol' not found
Since, it is not working for you either, I guess that quantmod has a 
significant bug.

Is there a better way to get free option quotes in R?

Thank you,

Bob
On 5/12/2017 2:09 PM, Joshua Ulrich wrote: