Description Usage Arguments Value Author(s) See Also Examples
Add an identifier to an instrument
unless
the instrument already has that identifier.
1 | add.identifier(primary_id, ...)
|
primary_id |
primary_id of an
|
... |
identifiers passed as regular named arguments. |
called for side-effect
Garrett See
1 2 3 4 5 6 7 8 | ## Not run:
stock("XXX", currency("USD"))
add.identifier("XXX", yahoo="^XXX")
getInstrument("^XXX")
add.identifier("^XXX", "x3")
all.equal(getInstrument("x3"), getInstrument("XXX")) #TRUE
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.