Learn R Programming

timeDate (version 290.84)

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
## holidayNYSE -
   holidayNYSE()
   holidayNYSE(2008:2010)

Run the code above in your browser using DataLab