Closed gerrymanoim closed 3 years ago
cc @jmccorriston (FYI - @rsheftel )
For TSX:
I can't find any sources saying that Christmas Eve was a holiday, but I found this source suggesting that the market was open on 2010-12-24 (but closed by 2:41pm ET, suggesting it closed early): https://toronto.ctvnews.ca/modest-tsx-gain-as-trading-takes-a-christmas-break-1.589362
There's also this wiki page on the 9/11 closes around the world (includes TSX): https://en.wikipedia.org/wiki/Closings_and_cancellations_following_the_September_11_attacks
So I think the Toronto Stock exchange implementation in trading_calendars
is correct.
FWIW https://finance.yahoo.com/quote/RY.TO/history?period1=1292112000&period2=1293753600&interval=1d&filter=history&frequency=1d shows volume on TSX on 2010-12-24.
For HKG:
It looks like Hong Kong only started observing Labour Day in 1999 (https://en.wikipedia.org/wiki/International_Workers%27_Day, "In Hong Kong, 1 May is known as Labour Day and has been considered a public holiday since 1999."). pmc is correct here, tc needs to be updated.
Establishment day started in 1997: https://www.scmp.com/news/hong-kong/education-community/article/1983718/everything-you-need-know-about-hong-kongs-return. pmc is correct here, tc needs to be updated.
National Day also first observed in 1997: http://www.cnn.com/WORLD/9710/01/china.bday/. pmc is correct, tc needs to be updated.
Buddha's birthday also only started as a public holiday in 1998: https://www.cantoneseclass101.com/blog/2020/04/24/celebrating-buddhas-birthday-in-hong-kong/, https://www.officeholidays.com/holidays/hong-kong/the-buddhas-birthday. We should trim the calendar in tc to reflect this. However, it looks like there's still a discrepancy in 1998. pmc suggests that 1998-05-04 should be a trading day while tc suggests it should be a holiday (1998-05-03 actual holiday, observed on the Monday).
There are several British holidays that were observed during British rule pre-1997 as well:
It looks like there are a lot of details in the pmc Hong Kong calendar implementation that we are missing in tc. I pinged the person who added them to pmc to see if we can get more info, but my inclination is to pull in the historical calendars that they added to pmc. From what I can tell so far, they are correct.
One exception: 2021-04-06
was a public holiday per https://www.hkex.com.hk/News/HKEX-Calendar?sc_lang=en (Ching Ming festival). This is correct in tc.
For CFE:
I can't seem to find any references for Nixon's Day of Mourning on 1994-04-27... Not sure what to do about this one.
Discussion of pre-1990 NYSE (XNYS) calendar here: #162
Discussion of LSE differences here: #163
Discussion of XKTS (JPX) differences here: #164
re https://github.com/rsheftel/pandas_market_calendars/issues/41
Summary status
1994-04-27
inpmc
but not intc
Extras not covered by diff below:
Details
code generating the table below
XHKG
Trading Days only in
trading_calendars
Trading Days only in
pandas_market_calendars
CFE
Trading Days only in
trading_calendars
Trading Days only in
pandas_market_calendars
XSWX
Trading Days only in
trading_calendars
Trading Days only in
pandas_market_calendars
LSE
Trading Days only in
trading_calendars
Trading Days only in
pandas_market_calendars
XSHG
Trading Days only in
trading_calendars
Trading Days only in
pandas_market_calendars
XASX
Trading Days only in
trading_calendars
Trading Days only in
pandas_market_calendars
TSX
Trading Days only in
trading_calendars
Trading Days only in
pandas_market_calendars
BMF
Trading Days only in
trading_calendars
Trading Days only in
pandas_market_calendars