How to Solve Yfinance saying “Too many requests.Rate limited”
Yfinance is a Python based plugin to help you get market data from Yahoo! Finance. This is very useful tool to help you analyzing the data of the market whether is this stocks or cryptos . But recently some of yfinance users got problem when they want to download the market data that is said that you have “Too many requests.Rate limited” following with the error of HTTP Error 404. This is really making a problem when you want to going to analyze the market sector that you probably want to buy or sell.

Yahoo Finance Yfinance
This problem can be happening from the beginning of the time when you try to fetch the data or even in the middle of fetching process. According to the experience you might still be able to fully download the market data but it didn’t stable. Some try to using VPN to solve this problem but this is also like a gacha because it’s not guarantee that you will able to download the market data just like normally you do. The usual problem solving is checking the version of your yfinance and if there an update then you should immediately update it to the latest version.
How to update yfinance ?
To update yfinance you need to open your terminal or command prompt and run this command:
pip install --upgrade yfinance
But the new change of the new TLS Fingerprinting that Yahoo! just made a few times ago make the simple upgrade like above sometimes not work and you need to rebuild yfinance to match the new TLS Fingerprinting by using the bellow command:
pip uninstall yfinance
the above command will uninstall the current of your yfinance and the run :
pip install git+https://github.com/bretsky/yfinance.git@fix/curl-cffi-cookies
to build yfinance to matching the new Yahoo! Finance TLS Fingerprinting. After that you can check to download the market data, you might got some warning info on your terminal when the download has been finished but this won’t affect the data that you got. If you have some trouble to solve then just leave a comment and i hope that my post will help you to solve your yfinance problem.