ranaroussi / yfinance

Download market data from Yahoo! Finance's API
https://aroussi.com/post/python-yahoo-finance
Apache License 2.0
14.89k stars 2.44k forks source link

yf.download(['CL=F'],progress=True) cannot get data #1983

Closed xu000112-bit closed 4 months ago

xu000112-bit commented 4 months ago

Describe bug

"yf.download(['CL=F'], progress=True) is unable to retrieve data. Previously, it could return the data, but now it displays the message: "

[*****100%%**] 1 of 1 completed

1 Failed download: ['CL=F']: Exception('%ticker%: No price data found, symbol may be delisted (1d 1925-08-06 -> 2024-07-13)')

Simple code that reproduces your problem

yf.download(['CL=F'],progress=True)

Debug log

[*****100%%**] 1 of 1 completed

1 Failed download: ['CL=F']: Exception('%ticker%: No price data found, symbol may be delisted (1d 1925-08-06 -> 2024-07-13)')

Bad data proof

No response

yfinance version

0.2.33

Python version

No response

Operating system

No response

xu000112-bit commented 4 months ago

just upgrade the package to the newest one