View source: R/calc_portfolio.R
calc_portfolio_parameters | R Documentation |
Calculate Portfolio Parameters
calc_portfolio_parameters(portfolio)
portfolio |
A |
A list with the following elements:
value
: The value of the portfolio.
weights
: The weights of assets in the portfolio.
expected_return
: The expected return of the portfolio.
standard_deviation
: The standard deviation of the portfolio.
portfolio <- create_portfolio_template()
portfolio$accounts$taxable <- c(10000, 30000)
calc_portfolio_parameters(portfolio)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.