Learn R Programming

timeDate (version 3042.101)

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
# NOT RUN {
## holidayTSX -
   holidayTSX()
   holidayTSX(2008:2010)
# }

Run the code above in your browser using DataLab