Learn R Programming

timeDate (version 3042.101)

holidayNYSE: NYSE Holiday Calendar

Description

Returns a holiday calendar for the New York Stock Exchange.

Usage

holidayNYSE(year = getRmetricsOptions("currentYear"))

Arguments

year

an integer value or vector of years, formatted as YYYY.

Value

returns an object of class timeDate.

Examples

Run this code
# NOT RUN {
## holidayNYSE -
   holidayNYSE()
   holidayNYSE(2008:2010)
# }

Run the code above in your browser using DataLab