Skip to content
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

query all interface is error #29

Open
dislazy opened this issue Sep 5, 2023 · 6 comments
Open

query all interface is error #29

dislazy opened this issue Sep 5, 2023 · 6 comments

Comments

@dislazy
Copy link

dislazy commented Sep 5, 2023

q, err := quote.Get("AAPL")
if err != nil {
	// Uh-oh.
	panic(err)
}

// Success!
fmt.Println(q)

panic: Can't find quote for symbol: AAPL

goroutine 1 [running]:

@leoneu
Copy link

leoneu commented Dec 27, 2023

Make sure you install the latest commit that works with the Yahoo! API. For example:

go get github.com/piquette/finance-go@40d4ac6e73cf36936990a7e5a794706722c91ad5

@infor7
Copy link

infor7 commented Dec 28, 2023

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

@leoneu
Copy link

leoneu commented Dec 29, 2023

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

@sunglim
Copy link

sunglim commented Feb 7, 2024

As of 2024.02.07, I got the following error

"code: remote-error, detail: code: remote-error, detail: error response recieved from upstream api"

@Zmey56
Copy link

Zmey56 commented Apr 3, 2024

I have the same problem too: panic: code: remote-error, detail: code: remote-error, detail: error response recieved from upstream api

@pultarmi
Copy link

pultarmi commented Aug 11, 2024

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')

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

6 participants