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

ENH: Update XHKG calendar #165

Merged
merged 6 commits into from Oct 8, 2020
Merged

ENH: Update XHKG calendar #165

merged 6 commits into from Oct 8, 2020

Conversation

gerrymanoim
Copy link
Collaborator

WIP PR for updating XHKG. See details here: #152 (comment).

Pausing for now as:

  • I need to do a bit more refactoring to get Buddha's birthday/other lunar holidays ported over correctly from pandas_market_calendars
  • I need clarification from @jmccorriston on Liberation Day (I can't see that in either calendar?)
  • I need some other clarification about whether we're pulling the rest of the missing holidays from PMC (which I believe to be the case, but I wanted to double check).

@github-actions github-actions bot added the enhancement New feature or request label Sep 16, 2020
@gerrymanoim gerrymanoim marked this pull request as draft September 16, 2020 17:39
@jmccorriston
Copy link
Contributor

Liberation Day is another name for Allied Victory Day https://en.wikipedia.org/wiki/Victory_over_Japan_Day, which is currently implemented here in pmc: https://github.com/rsheftel/pandas_market_calendars/blob/master/pandas_market_calendars/exchange_calendar_hkex.py#L240.

In general, I think we should port over the rest of the holidays from pmc.

@gerrymanoim
Copy link
Collaborator Author

@jmccorriston - updated, I think I grabbed them all, will run another check when I have a sec.

@gerrymanoim
Copy link
Collaborator Author

Confirmed no more diffs between the two calendars.

@gerrymanoim gerrymanoim marked this pull request as ready for review September 24, 2020 22:10
@jmccorriston
Copy link
Contributor

Sorry for the delay, this lgtm then!

@gerrymanoim gerrymanoim merged commit 84b92e3 into master Oct 8, 2020
@gerrymanoim gerrymanoim deleted the update-hkg-calendar branch October 8, 2020 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants