Skip to contents

The last closes and the forecast ranges of the next days, which start from the last close, for plot_volatility(). Hover over the median line for the ranges of a day.

Usage

plot_forecast(analysis, context_days)

Arguments

analysis

The result of volatility_analysis(), with a forecast.

context_days

Closes before the forecast.

Value

A plotly object.

Examples

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