earlyCloseNYSE | R Documentation |
Get dates of early closings of the New York Stock exchange (NYSE).
earlyCloseNYSE(year)
year |
a vector of integers representing years (4 digits). |
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.
a "timeDate"
object containing the dates (with closing times)
of early closings
The function is somewhat experimental but the type of the result will not change.
Georgi N. Boshnakov
https://archive.fo/XecDq
holidayNYSE
for a list of NYSE holidays
earlyCloseNYSE(1990)
earlyCloseNYSE(2022:2024) # early closings
holidayNYSE(2022:2024) # holidays
## early closings & holidays combined
c(earlyCloseNYSE(2022:2024), holidayNYSE(2022:2024))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.