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

Error: Failed to parse holders json data. #1940

Open
bserg1966 opened this issue May 19, 2024 · 0 comments
Open

Error: Failed to parse holders json data. #1940

bserg1966 opened this issue May 19, 2024 · 0 comments

Comments

@bserg1966
Copy link

Describe bug

Code generate exception for 15-17% fom about 5500 tickers - Error: Failed to parse holders json data.
major_holders not found_0-1.txt
major_holders not found_1-2.txt
major_holders not found_2-3.txt
major_holders not found_3-4.txt
major_holders not found_4-5.txt
major_holders not found_5-6.txt
In files wrong tickers.Digits in files names mean number of thousands (from 5500 extracted tickers).

Simple code that reproduces your problem

stock = yf.Ticker(ticker)
NewDf = stock.major_holders

Debug log

Error: Failed to parse holders json data.

Bad data proof

If this problem need to connect with those who create json files.
Give me please their contacts or write to them yourself.
Thanks.

yfinance version

0.2.38

Python version

3.12

Operating system

Win11

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

1 participant