Description Usage Arguments Value Author(s) Examples
Calculate the gains of a cryptocurrency with respect to the closing price within a xts of ohlc-values. Referred_to columns must be named "close" and "open".
1 |
data |
A xts with ohlc-values |
A time series with gains
Philipp Giese
1 | calculate_gains(calculate_price("CCCAGG","BTC","USD",7))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.