Skip to content

Conversation

@R5dan
Copy link
Contributor

@R5dan R5dan commented May 5, 2025

This is the implementation of #2298

@ValueRaider @dhruvan2006 when I was implementing the market holidays for Websocket there is a RecursionError. Any ideas of how to get rid of it?

@ValueRaider I think I have fixed your commits for future pr's

@R5dan R5dan marked this pull request as draft May 5, 2025 11:34
@R5dan
Copy link
Contributor Author

R5dan commented May 7, 2025

@ValueRaider @dhruvan2006 Any ideas? I think part of the problem is the requirement of metadata and Ticker.live

@ValueRaider
Copy link
Collaborator

ValueRaider commented May 7, 2025

Never merge main/dev into your branch, instead rebase.

Ensure your base matches target branch.

This PR looks like a write-off.

@R5dan
Copy link
Contributor Author

R5dan commented May 8, 2025

Ok, but do you like the idea? Shall I make the PR again?

@ValueRaider
Copy link
Collaborator

Oh the idea. I'm undecided, so make the PR and let community vote on it.

I'm not adding a dependency to a brand new package, especially when solutions already exist like exchange_calendars.

@R5dan
Copy link
Contributor Author

R5dan commented May 16, 2025

I'm not adding a dependency to a brand new package, especially when solutions already exist like exchange_calendars.

The problem with most of the others is that they are static, BetterHolidays uses web scraping for the holidays that can change year to year as well as some adhoc holidays. exchange_calenders seems to use a weird naming conversion as well. I built BetterHolidays because I don't like the other options, if you could tell me why you don't want to add it so I can fix or tell me which alternative to use.

@ValueRaider
Copy link
Collaborator

ValueRaider commented May 16, 2025

BetterHolidays uses web scraping

Where?

exchange_calenders seems to use a weird naming conversion

So add a single dict mapping yf -> xcals. Are you willing to reproduce every calendar here? https://help.yahoo.com/kb/SLN2310.html?_guc_consent_skip=1747426492 (if you are, you have more impact adding them to xcals)

@R5dan
Copy link
Contributor Author

R5dan commented May 26, 2025

Sorry I have been busy:

Where?

Oh sorry, unreleased pr adding more markets

Are you willing to reproduce every calendar here? https://help.yahoo.com/kb/SLN2310.html?_guc_consent_skip=1747426492

Yes. I think it will take less time to do it in BetterHolidays as I will use web scraping though.

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

Successfully merging this pull request may close these issues.

2 participants