powered by
shows names that are stored in the underlying_id slot of derivative instruments
underlying_id
ls_underlyings(pattern = NULL, match = TRUE)
an optional regular expression. Only names matching ‘pattern’ are returned.
require exact match?
chr vector of names of unique underlying_ids
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
# NOT RUN { # } # NOT RUN { ls_underlyings() # }
Run the code above in your browser using DataLab