Description Usage Arguments Note Author(s) See Also Examples
This is most useful for seeing the difference between two
instrument
objects.
1 2 3 |
char.n |
If length of a character vector is
|
collapse |
Only used if a character vector is of
length less than |
ALPHA code. Subject to change
Garrett See
getInstrument
,
instrument.table
,
buildHierarchy
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
currency("USD")
stock("SPY", "USD", validExchanges=c("SMART", "ARCA", "BATS", "BEX"))
stock("DIA", "USD", validExchanges=c("SMART", "ARCA", "ISLAND"),
ExtraField="something")
all.equal(getInstrument("SPY"), getInstrument("DIA"))
all.equal(getInstrument("SPY"), getInstrument("DIA"), char.n=5)
all.equal(getInstrument("SPY"), getInstrument("DIA"), char.n=5, collapse=NULL)
all.equal(getInstrument("DIA"), getInstrument("USD"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.