thedayafter: Frequency plot of Subsequent Returns After a Percentage Input

View source: R/avfintools.R

thedayafterR Documentation

Frequency plot of Subsequent Returns After a Percentage Input

Description

Returns a frequency plot drawn from historical data based on a percentage change that occurred

Usage

thedayafter(dataset, price_input, hideprints = TRUE)

Arguments

dataset

Dataframe with daily data

price_input

the price movement, in percent, of the most recent (or whatever you are interested in) trading day

hideprints

if set to FALSE, returns summary statistics

Value

percentage frequency plot of the following day based on historical data

Examples

thedayafter(SPYdaily, -1.35)

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