powered by
shows names that are stored in the underlying_id slot of derivative instruments
underlying_id
ls_underlyings(pattern = NULL, match = TRUE)
chr vector of names of unique underlying_ids
an optional regular expression. Only names matching ‘pattern’ are returned.
require exact match?
Garrett See
first calls ls_derivatives, then looks for unique underlying_ids. If no derivatives have been defined, nothing will be returned.
ls_derivatives
ls_instruments_by, ls_derivatives, ls_options, ls_futures
if (FALSE) { ls_underlyings() }
Run the code above in your browser using DataLab