ls_strikes {FinancialInstrument} | R Documentation |
show strike prices of defined options
Description
list the strike prices of previously defined options.
Usage
ls_strikes(pattern = NULL)
Arguments
pattern |
an optional regular expression. Only names matching 'pattern' are returned. |
Details
If no option names are supplied, the strike prices of all defined options will be returned
Value
vector of strike prices
Author(s)
Garrett See
See Also
ls_options, ls_calls, ls_puts ls_instruments_by ls_underlyings
Examples
## Not run:
option_series.yahoo('SPY')
ls_strikes(ls_options('SPY'))
## End(Not run)
[Package FinancialInstrument version 1.3.1 Index]