first_day_week: find first day of week

Description Usage Arguments Value Examples

Description

first_day_week creates a data.frame with the first day of the week (mondays) to be used in the tidy data process. The first day of the week is used as a trade entry criteria in options.shiny and options.studies.

Usage

1
first_day_week(start_yr, end_yr)

Arguments

start_yr

Numeric year to begin calendar

end_yr

Numeric year to end calendar

Value

data.frame mondays in the years passed to function saved as "data/mondays.RData".

Examples

1
mondays <- first_day_week(2010, 2020)

themechanicalbear/options.data documentation built on May 31, 2019, 9:48 a.m.