Description Usage Arguments Details Value Author(s) See Also Examples
list names of instruments that have an attribute that matches some value
1 2 |
what |
What attribute? (e.g. “currency”, “type”, “strike”, etc.) |
value |
What value must the attribute have? (e.g.
“EUR”, “option”, 100, etc.). If missing or
|
pattern |
only return instruments with
|
match |
should pattern match names exactly? |
in.slot |
If the attribute you are looking for is stored inside another slot, this is the name of that slot. (usually "IB") |
list instruments that have a given attribute level with a given value.
chr vector of instrument names
Garrett See
buildHierarchy, instrument.table, ls_instruments
1 2 3 4 5 6 7 8 | ## Not run:
stock(c("GOOG","INTC"),currency("USD"))
synthetic("SnP","USD",src=list(name='^GSPC',src='yahoo'))
ls_instruments_by('type','stock')
ls_instruments_by("name",NULL,in.slot='src')
ls_instruments_by('src',NULL)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.