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

Missing Daily Data - June 11 (data from yesterday) for all tickers #1962

Closed
rahulsinghania opened this issue Jun 12, 2024 · 1 comment
Closed

Comments

@rahulsinghania
Copy link

Describe bug

June 11 (data from yesterday) data is missing for all tickers. Values are listed as non

Simple code that reproduces your problem

import yfinance as yf

print(yf.version)

def dailyData(tickerList):
data = yf.download(
tickers=tickerList,
period="6mo",
interval="1d",
group_by="ticker",
auto_adjust=False,
prepost=False,
threads=True,
proxy=None,
)
return data

Define the ticker list with MSFT

ticker_list = ["MSFT"]

Get the daily data for MSFT

msft_data = dailyData(ticker_list)

Print the daily data for MSFT

print(msft_data)

Debug log

0.2.40
[100%%*] 1 of 1 completed
Open High Low Close Adj Close Volume
Date
2023-12-13 376.019989 377.640015 370.769989 374.369995 373.006165 30955500
2023-12-14 373.309998 373.760010 364.130005 365.929993 364.596924 43277500
2023-12-15 366.850006 372.399994 366.279999 370.730011 369.379456 78478200
2023-12-18 369.450012 373.000000 368.679993 372.649994 371.292419 21802900
2023-12-19 371.489990 373.260010 369.839996 373.260010 371.900238 20603700
... ... ... ... ... ... ...
2024-06-05 417.809998 424.079987 416.299988 424.010010 424.010010 16988000
2024-06-06 424.010010 425.309998 420.579987 424.519989 424.519989 14861300
2024-06-07 426.200012 426.279999 423.000000 423.850006 423.850006 13621700
2024-06-10 424.700012 428.079987 423.890015 427.869995 427.869995 14003000
2024-06-12 435.320007 443.399994 433.250000 441.059998 441.059998 22221056

Bad data proof

2024-06-05 417.809998 424.079987 416.299988 424.010010 424.010010 16988000
2024-06-06 424.010010 425.309998 420.579987 424.519989 424.519989 14861300
2024-06-07 426.200012 426.279999 423.000000 423.850006 423.850006 13621700
2024-06-10 424.700012 428.079987 423.890015 427.869995 427.869995 14003000
2024-06-12 435.320007 443.399994 433.250000 441.059998 441.059998 22221056

yfinance version

^0.2.40

Python version

^3.11

Operating system

MacOS 14.5 (23F79)

@rahulsinghania
Copy link
Author

Looks like data is missing from yahoo finance website itself. Hopefully they will correct this issue soon -

@ValueRaider ValueRaider closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
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