TradingDayCreator: Function to create trading days/weeks from a tsibble/grouped...

Description Usage Arguments Value Examples

View source: R/TradingDayCreator.R

Description

Function to create trading days/weeks from a tsibble/grouped tsibble

Usage

1
TradingDayCreator(data, DateVar, key)

Arguments

data

A tidyquant daily OHLC tibble.

DateVar

A time index for the tsibble.

key

The key for the tsibble supplied.

Value

A tsibble indexed by trading_day. The function will also work with generic messy time units such as weeks.

Examples

1
2

robertwwalker/AutoForecaster documentation built on Dec. 22, 2021, 5:13 p.m.