Description Usage Arguments Details See Also
Get a portfolio object conssting of either a nested list
(getPortfolio) or a pointer to the portfolio in the
.blotter environment (.getPortfolio)
1 2 3 | getPortfolio(Portfolio, Dates = NULL, envir = .blotter)
.getPortfolio(Portfolio, envir = .blotter)
|
Portfolio |
string identifying portfolio |
Dates |
dates subset, not yet supported |
envir |
the environment to retrieve the portfolio from, defaults to .blotter |
Portfolios in blotter are stored as a set of nested, hashed, environments.
The getPortfolio function returns a nested list. If
you are unsure, use this function.
The .getPortfolio function returns a pointer to the
actual environment. Environments in R are passed by
reference, and are not copied by the <- assignment
operator. Any changes made to the environment returned by
.getPortfolio are global. You have been warned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.