View source: R/yahooOptionChain.R
getYahooOptionChain | R Documentation |
Download option chains for all available expiries of a given stock ticker,
then merge them by common strike prices into one matrix/data.frame. This is essentially
a wrapper to quantmod::getOptionChain
with some processing/formatting
added afterwards.
getYahooOptionChain(symbol, option_type = "calls", plotSurface = FALSE)
symbol |
stock-ticker symbol to look up |
option_type |
"puts" or "calls" |
plotSurface |
boolean for plotting the 3D raw price-surface (Deprecated) |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.