1 2 | tblContrToRet(port, xwin = c("dtd", "wtd", "mtd", "qtd", "ytd", "ttm"),
asof = Sys.Date())
|
port |
Portfolio object |
asof |
As of or ending date for range of return contribution |
win |
vector of calendar periods to set range of return contribution |
The return contribution analysis is conducted on current funds that have a non-zero weight. If there is a rebalance during the period or the portfolio has fees there will likely be a residual or difference between the sum of the assets' contribution to return and the total portfolio return.
list containing numeric and character formatted table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.