powered by
list the strike prices of previously defined options.
ls_strikes(pattern = NULL)
an optional regular expression. Only names matching 'pattern' are returned.
vector of strike prices
If no option names are supplied, the strike prices of all defined options will be returned
ls_options, ls_calls, ls_puts ls_instruments_by ls_underlyings
# NOT RUN { # } # NOT RUN { option_series.yahoo('SPY') ls_strikes(ls_options('SPY')) # }
Run the code above in your browser using DataLab