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

get_shares_full returns more than one number of outstanding shares per date #1954

Open
laygr opened this issue May 31, 2024 · 1 comment
Open

Comments

@laygr
Copy link

laygr commented May 31, 2024

Describe bug

When retrieving the number of outstanding shares via get_shares_full, for some dates I get two rows with very different numbers of outstanding shares.

For example, for MSFT, I would get the following result:
2024-05-30 00:00:00-04:00 7432309760
2024-05-31 00:00:00-04:00 7432309760
2024-05-31 00:00:00-04:00 7698290176

Notice how for 2024/05/31, it returns two numbers: 7432309760 and 7698290176.

Simple code that reproduces your problem

import yfinance as yf
m = yf.Ticker('MSFT')
m.get_shares_full(start='2024-05-28', end=None)

Debug log

DEBUG Entering get_shares_full()
DEBUG Exiting get_shares_full()

Bad data proof

No response

yfinance version

0.2.38

Python version

3.9.19

Operating system

Ubuntu

@ValueRaider
Copy link
Collaborator

Any way to know which is correct guaranteed? Otherwise yfinance can't fix.

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