Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Good Friday and Veterans Day are not included in SIFMA_US's holiday #251

Open
dancy0824 opened this issue Apr 26, 2023 · 4 comments
Open

Comments

@dancy0824
Copy link

Hi,

The holiday list of this SIFMA_US calender for the years 2024 and beyond don't include Good Friday and Veterans Day.

Based on the holiday schedule on the SIFMA website, these two are observed for 2024.
https://www.sifma.org/resources/general/holiday-schedule/

About the Good Friday:
maybe should add Timestamp('2024-03-29', tz='UTC') into the GoodFridayAdHoc.
GoodFridayAdHoc = [Timestamp('2022-04-15', tz='UTC'),]

About the Veterans Day: not sure why set end_date as 2022, thus the years beyond will not have VeteransDay.

USVeteransDay = Holiday(
    'Veterans Day',
    month=11,
    day=11,
    end_date=Timestamp('2022-12-31'),
    days_of_week=(MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY),
    observance=sunday_to_monday,
)

Could you please take a look? Thanks.

@ilCatania
Copy link
Contributor

Looking at the Good friday code it looks like 2023 was marked as an early close, not a holiday.

Regarding Veterans day, I am not sure why the end date was set.

@glossner you are the last person who changed this code, do you know?

@glossner
Copy link
Collaborator

@dancy0824 I don't think any one has coded 2024 yet.

@ilCatania because 2022 is a full holiday and 2023 is an early close, this rule has to be coded as an ad-hoc holiday.

Any rule that is ad hoc has to be manually updated.

I have on my summer coding list to update the ad hoc holidays as far into the future as possible.

@dancy0824
Copy link
Author

dancy0824 commented Apr 26, 2023 via email

@kslader8
Copy link

kslader8 commented Feb 4, 2024

Is there any update on veterans day for 2024?

It looks like end_date need to be unset and 2023 requires some hard coding for veterans day because the markets remained open (and we all got a floating holiday instead)

I started a pr for this -
#326

Can you provide some guidance on if this is inline with what you expect?

I'd like to do a little more work as a subsequent pr in the future though. good friday is deterministic for sifma and the current implementation is just not aware of the rule it appears. the rule for sifma is based on non farm payroll (first friday of month + a couple caveats). When good friday overlaps with non farm payroll good friday is always an early close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants