getYahooOptionChain: Download option-chain from Yahoo-Finance

View source: R/yahooOptionChain.R

getYahooOptionChainR Documentation

Download option-chain from Yahoo-Finance

Description

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.

Usage

getYahooOptionChain(symbol, option_type = "calls", plotSurface = FALSE)

Arguments

symbol

stock-ticker symbol to look up

option_type

"puts" or "calls"

plotSurface

boolean for plotting the 3D raw price-surface (Deprecated)

Value

data.frame


shill1729/trader documentation built on Dec. 27, 2022, 10:55 p.m.