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

[Question] yfinance decrypt Issue Parity with Python Equivalent #6

Closed
RaSi96 opened this issue Mar 24, 2023 · 2 comments
Closed

[Question] yfinance decrypt Issue Parity with Python Equivalent #6

RaSi96 opened this issue Mar 24, 2023 · 2 comments

Comments

@RaSi96
Copy link

RaSi96 commented Mar 24, 2023

Greetings everyone,

At the outset I would like to thank eohne for bringing this functionality to Julia!

I noticed that this repo has been created quite recently, and therefore probably not enough time has passed for this to be an issue yet: periodically, Python's yfinance equivalent seems to face problems with response decryption. Most recently in the pinned issue, yahooquery seems to have been recommended as an alternative since it uses unofficial Yahoo Finance API frontends to retrieve its data.

After glancing over the source code for YFinance.jl, it appears to me that here we are authenticating the connection before pulling data. My question thus is: how does YFinance.jl fare in this regard? Is it more aligned with Python's yfinance in terms of web scraping, or with yahooquery owing to its proxy/authentication facilities?

My apologies for not understanding this completely and for what might seem an uninformed question, but any input is appreciated. Thanks once again for this Julia package, and for your time.

EDIT: clarified question a little more.

@eohne
Copy link
Owner

eohne commented Mar 25, 2023

Hi @RaSi96

Thanks a lot for your question.

The way that data is pulled is really based on yahooquery rather than the python yfinance package.

The yahooquery way sends a request directly to the "unofficial" yahoo api that is called by the yahoo finance website and returns a JSON object , while the python yfinance way returns a html page that contains the information pulled from the "unofficial" yahoo finance api where information has to be cut out - much less efficient (at least for fundamental data etc.).

While yahooquery offers a way for premium users to sign in and access premium features/data this package does not currently offer this functionality. Although I think that would be a logical extension for future updates.

Not entirely sure if this answered your question but I hope it did.

@RaSi96
Copy link
Author

RaSi96 commented Mar 25, 2023

Thanks for responding @eohne! After getting a few more hours of use in with your package, I concur that YFinance.jl does indeed function very similarly to yahooquery. Appreciate your time, I'll be closing this issue.

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

2 participants