Skip to content

Error: No data found for this date range, symbol may be delisted #949

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

Open
bhishanpdl opened this issue Nov 17, 2022 · 3 comments
Open

Error: No data found for this date range, symbol may be delisted #949

bhishanpdl opened this issue Nov 17, 2022 · 3 comments

Comments

@bhishanpdl
Copy link

I am following the example shown in README, but I am getting no data found error.

I am running python 3.11 in Windows and have installed pandas datareader and finance.

The MWE is given below:

import yfinance as yf
import pandas_datareader
import sys

data = yf.download("SPY AAPL", start="2017-01-01", end="2017-04-30")

print(yf.__version__) # '0.1.87'
print(pandas_datareader.__version__) # '0.10.0'
print(sys.version) # 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]

Output:

[*********************100%***********************]  2 of 2 completed

2 Failed downloads:
- AAPL: No data found for this date range, symbol may be delisted
- SPY: No data found for this date range, symbol may be delisted
0.1.87
0.10.0
3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]
@datatalking
Copy link

@bhishanpdl I believe if you RTM and review the version documents they say this works with 3.6 and sometimes with 3.7.

@bhishanpdl
Copy link
Author

@datatalking Thanks for insights, i will create a new environment with python 3.7 and test the module. If it works that would be great.

@datatalking
Copy link

@bhishanpdl was the issue resolved with python 3.7? FWI 3.7 has been depricated so many of us moved to 3.8 or 3.9. If you are doing algo trading there is a growing group who share code but we have our own data, are you open to collaboration?

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