volatility_freq: Frequency plot of Range, as well as maximum Upward and...

View source: R/avfintools.R

volatility_freqR Documentation

Frequency plot of Range, as well as maximum Upward and Downward Movement

Description

a plot_ly plot

Usage

volatility_freq(df, tick_name, cumulative = FALSE, hideprints = FALSE)

Arguments

df

Dataframe with daily data

tick_name

The ticker so the graph is correct

cumulative

Default is FALSE, turn to TRUE for a cumulative plot.

hideprints

if set to FALSE, shows summary statistics

Value

Frequency plot where you can find intraday volatility (range), maximum upside (Upward Movement), maximum downside (Downward Movement) on a cumulative percentile basis

Examples

volatility_freq (SPYdaily, "SPY")
volatility_freq (SPYdaily, "SPY", cumulative = TRUE)
volatility_freq (SPYdaily, "SPY", hideprints = TRUE)

avfintools documentation built on Oct. 6, 2022, 5:14 p.m.