Reputation: 37
I have been using yfinance for a project, and have come across this error: 429 Client Error: Too Many Requests for url: https://query2.finance.yahoo.com/v10/finance/quoteSummary/AAPL?modules=financialData%2CquoteType%2CdefaultKeyStatistics%2CassetProfile%2CsummaryDetail&corsDomain=finance.yahoo.com&formatted=false&symbol=AAPL&crumb=Edge%3A+Too+Many+Requests
I do not believe I have made an unnecessary amount of requests but that appears to be untrue. I run some code on my AWS Lambda functions that fetch data from yfinance, but I have also replicated the following code on my local machine and still get the same response.
This is the code I used on my local IDE and it still provides the same error.
import yfinance as yf
aapl = yf.Ticker('aapl')
print(aapl.info)
Does anyone know how to fix this or what I should do?
Upvotes: 1
Views: 3226