clone.portfolio | R Documentation |
creates a copy of a portfolio, stripping all history (transactions etc)
clone.portfolio(
portfolio.st,
cloned.portfolio.st,
strip.history = TRUE,
src_envir = .blotter,
target_envir = .blotter
)
portfolio.st |
string identifying the source portfolio |
cloned.portfolio.st |
string naming the target portfolio |
strip.history |
boolean, default TRUE, whether to remove all transaction and portfolio history, keeping only the structure (e.g. assets) |
src_envir |
environment to get the portfolio to be cloned from, default |
target_envir |
environment to put the cloned portfolio in, passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.