Description Usage Arguments Value Examples
Converts prices to returns
1 | convertPricesToReturns(prices, freq = "D")
|
prices |
xts of prices such as returned by getPrices function |
freq |
M for monthly, or D for daily |
If ncol(prices)==1, an xts object, else a list with xts object of returns
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.