Description Usage Arguments Value Examples
calculates the achieved cumulative wealth of a steadily rebalanced portfolio
1 | get_wealth(returns, weights)
|
returns |
Matrix of price relatives, i.e. the ratio of the closing
(opening) price today and the day before (use function
|
weights |
vector or matrix containing portfolio weights. |
vector of the portfolio's cumulative wealth
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.