Description Usage Arguments Value
Updates a portfolio from a named list of new amounts
1 | change_amounts(portfolio, changed_amounts, nonneg = TRUE)
|
portfolio |
a portfolio object |
changed_amounts |
a named list indicating to what the balance of an asset should be changed |
nonneg |
a boolean indicating if only nonnegative amounts are
allowed for an asset balance. Use |
the updated portfolio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.