Description Usage Arguments Value
Creates a portfolio of holdings and the amount held.
1 2 3 4 5 6 7 | make_portfolio(asset_names, assets, amounts)
get_assets(portfolio)
get_amounts(portfolio)
get_total(portfolio)
|
asset_names |
a vector of strings identifying each holding |
assets |
a vector of |
amounts |
a vector of the dollar amount held for each holding |
portfolio |
the portfolio to return information from |
a new portfolio
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.