us-stock-trading-days
v0.1.2
Published
Generate a list of all the trading days in the US stock market from 1970-01-01 to `${currentYear + 1}-12-31`.
Downloads
5
Readme
US Stock Market trading days
Generate a list of all the trading days in the US stock market from 1970-01-01 to ${currentYear + 1}-12-31
.
Notes
If a federal holiday falls on a Saturday, the preceding Friday is typically observed as a holiday. If a federal holiday falls on a Sunday, the following Monday is typically observed as a holiday.
However, New Year's Day are not observed on the preceding Friday if it falls on a Saturday. I think it is because the preceding Friday belongs to a different year.
There are special events which will close the market. Ref: https://www.tradinghours.com/publications/11-events-that-closed-the-nyse