Learn R Programming

timeDate (version 4051.111)

holidayTSX: TSX holiday calendar

Description

Returns a holiday calendar for the Toronto Stock Exchange.

Usage

holidayTSX(year = getRmetricsOptions("currentYear"))

Value

an object of class "timeDate"

Arguments

year

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

See Also

holidayLONDON, holidayNERC, holidayNYSE, holidayZURICH for holidays at other major financial centers,

BoxingDay, etc., for descriptions of the individual holiday functions,

listHolidays for a list (character vector) of all holidays,

holiday alternative to calling directly individual holiday functions (takes one or more holiday functions as argument),

Easter

Examples

Run this code
holidayTSX()
holidayTSX(2008:2010)

Run the code above in your browser using DataLab