stock.td: Stock Trading days

View source: R/calendars.R

stock.tdR Documentation

Stock Trading days

Description

Stock Trading days

Usage

stock.td(frequency, start, length, s, w = 31)

Arguments

frequency

Annual frequency (divisor of 12).

start, length

First date (array with the first year and the first period) (for instance c(1980, 1)) and number of periods of the output variables. Can also be provided with the s argument

s

time series used to get the dates for the trading days variables. If supplied the parameters frequency, start and length are ignored.

w

indicates day of the month when inventories and other stock are reported (to denote the last day of the month enter 31).


palatej/rjd3modelling documentation built on Jan. 3, 2023, 10:19 p.m.