Open dislazy opened 1 year ago
Make sure you install the latest commit that works with the Yahoo! API. For example:
go get github.com/piquette/finance-go@40d4ac6e73cf36936990a7e5a794706722c91ad5
I have same problem, I've tried to fetch latest commit from master
go get github.com/piquette/finance-go@430a572334304ccddcf0f54cc4915b6a379ddc15
as well as one you have mentioned
go get github.com/piquette/finance-go@40d4ac6e73cf36936990a7e5a794706722c91ad5
Both of them returns panic: Can't find quote for symbol: AAPL
The code works for me so it might be an issue with the Yahoo API. Probably the quickest test is to try the python app using the same IP address and see if you get the same problem. https://github.com/ranaroussi/yfinance
As of 2024.02.07, I got the following error
"code: remote-error, detail: code: remote-error, detail: error response recieved from upstream api"
I have the same problem too: panic: code: remote-error, detail: code: remote-error, detail: error response recieved from upstream api
Problem still exists. I am getting panic: Can't find quote for symbol: AAPL
on quote.Get("AAPL")
.
In contrast, this simple code in Python works:
import yfinance as yf
ticker = yf.Ticker('AAPL')
panic: Can't find quote for symbol: AAPL
goroutine 1 [running]: