Get a portfolio object conssting of either a nested list (
or a pointer to the portfolio in the
.blotter environment (
1 2 3
string identifying portfolio
dates subset, not yet supported
the environment to retrieve the portfolio from, defaults to .blotter
Portfolios in blotter are stored as a set of nested, hashed, environments.
getPortfolio function returns a nested list. If you are unsure, use this function.
.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.