We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The calendar for XSHG ends in 2025, which is not that far in the future any more. Is there some code somewhere to compute the holidays on the Shanghai stock exchange? As far as I can see they are all hard-coded in https://github.com/gerrymanoim/exchange_calendars/blob/master/exchange_calendars/exchange_calendar_xshg.py
I could of course try to find all the holidays for any later dates, but it probably would be a bit easier if someone has some more "local" knowledge.
The text was updated successfully, but these errors were encountered:
Hi @hannes101, yup they are hard-coded.
I suspect the holiday rules are sufficiently complex that it was decided it would be simpler to just hard code them each year.
PR's welcome to extend the holidays (Workflow to modify an existing Exchange Calendar)
Thanks
Sorry, something went wrong.
No branches or pull requests
The calendar for XSHG ends in 2025, which is not that far in the future any more. Is there some code somewhere to compute the holidays on the Shanghai stock exchange? As far as I can see they are all hard-coded in https://github.com/gerrymanoim/exchange_calendars/blob/master/exchange_calendars/exchange_calendar_xshg.py
I could of course try to find all the holidays for any later dates, but it probably would be a bit easier if someone has some more "local" knowledge.
The text was updated successfully, but these errors were encountered: