Learn R Programming

timeDate (version 290.84)

holidayTSX: TSX Holiday Calendar

Description

Returns a holiday calendar for the Toronto Stock Exchange.

Usage

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

Run the code above in your browser using DataLab