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

XNSE and XBOM holiday 2024-05-20 #344

Open
npezolano opened this issue Jun 4, 2024 · 2 comments
Open

XNSE and XBOM holiday 2024-05-20 #344

npezolano opened this issue Jun 4, 2024 · 2 comments

Comments

@npezolano
Copy link
Contributor

2024-05-20 was election day in Indian and both XBOM and XNSE were closed

https://www.nseindia.com/resources/exchange-communication-holidays
https://www.bseindia.com/static/markets/marketinfo/listholi.aspx

start = '2024-05-18'
end = '2024-05-21'
cal = mcal.get_calendar('XNSE')
print(cal.schedule(start_date=start, end_date=end))
@rsheftel
Copy link
Owner

Those calendars are defined in the exchange_calendars package. I recommend submitting an issue there

https://github.com/gerrymanoim/exchange_calendars

@npezolano
Copy link
Contributor Author

npezolano commented Jun 20, 2024

Should probably remove the alias for XNSE and NSE under the BSE calendar here, the two exchanges vary on holidays.

aliases = ["BSE", "NSE", "XNSE"]

Should I create a separate NSE/XNSE calendar here or in the exchange_calendars repo?

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

No branches or pull requests

2 participants