Description Usage Arguments Value Examples
Makes sure the last month in an xts object is a full trading month This is used when converting to monthly returns. If the last price was not at the end of a month (e.g. 2/13/2018) a return will still be produced for that month (Feb 2018). We may not want to use a partial month for some calculations such as when calculating the return for the last x months, so we eliminate those types of months.
1 |
x |
xts object |
xts object
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.