Learn R Programming

timeDate (version 4041.110)

earlyCloseNYSE: Early closings of the New York Stock exchange

Description

Get dates of early closings of the New York Stock exchange (NYSE).

Usage

earlyCloseNYSE(year)

Value

a "timeDate" object containing the dates (with closing times) of early closings

Arguments

year

a vector of integers representing years (4 digits).

Author

Georgi N. Boshnakov

Details

earlyCloseNYSE gives the dates and times when NYSE was closed early. Some of these closing are scheduled (e.g. at 1pm on the day before or after a holiday), others are unscheduled.

The information is incomplete, particularly after 2011. For those dates the values are computed using explicitly declared rules or, if not available, ones derived from recent years.

References

https://archive.fo/XecDq

See Also

holidayNYSE for a list of NYSE holidays

Examples

Run this code
earlyCloseNYSE(1990)

earlyCloseNYSE(2022:2024) # early closings
holidayNYSE(2022:2024)    # holidays
## early closings & holidays combined
c(earlyCloseNYSE(2022:2024), holidayNYSE(2022:2024))

Run the code above in your browser using DataLab