pf_summary | R Documentation |
Gets a sizes of each strategy in a portfolio at a specific date. Use to retrieve sizes in month weight terms
pf_summary(portfolio, as_of_date = NULL, approx = TRUE)
portfolio |
A dataframe of strategies which are timeseries sizes of their component instruments, contains columns 'date', 'strategy' |
as_of_date |
A Date variable |
approx |
A boolean indicating if 'as_of_date' is unavailable, the next available earlier date should be used |
A dataframe containing the sizes of the strategies
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.