Skip to contents

The series of volatility_analysis(), followed by the days of its forecast, for the CSV button of the Volatility tab.

Usage

volatility_csv(analysis)

Arguments

analysis

The result of volatility_analysis().

Value

A data frame with a row per day, sorted by date: the columns of series, and the forecast columns forecast_sigma, forecast_low, forecast_low_50, forecast_median, forecast_high_50 and forecast_high, which are filled on the days ahead only. Without a forecast, series alone.

Examples

if (FALSE) { # \dontrun{
btc <- get_history("Bitcoin (BTC)", as.Date("2013-04-29"))
utils::tail(golemcrypto:::volatility_csv(volatility_analysis(btc)), 10)
} # }