Description Usage Arguments Details Value Note Author(s) See Also Examples
show unique expiration dates of instruments
1 2 3 4 5 |
pattern |
optional regular expression. |
match |
exact match? |
underlying_id |
chr name of underlying or vector of underlying_ids. If NULL, all underlyings will be used |
type |
chr string name of class that instruments to be returned must inherit. |
ls_expires
is an alias. (plural of expires?)
type is currently only implemented for ‘derivative’, ‘future’, ‘option’, ‘call’ and ‘put’ internally, a call is made to the appropriate ls_ function.
named chr vector with length of unique expiration dates
of derivatives of class type
and having an
underlying_id of underlying_id
if given.
This should be updated to deal with dates instead of character strings
Garrett
ls_instruments_by for things like e.g. ls_instruments_by('expires','20110916'), ls_instruments, ls_derivatives, ls_options, ls_calls, buildHierarchy, instrument.table
1 2 3 4 5 6 7 | ## Not run:
option_series.yahoo('SPY')
option_series.yahoo('DIA',NULL)
ls_expiries()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.