finance-go icon indicating copy to clipboard operation
finance-go copied to clipboard

Yahoo API changed 2/18/2025

Open sargon2 opened this issue 10 months ago • 5 comments

I'm getting one of these two errors for all calls to quote.Get():

code: remote-error, detail: status: 429, detail: error response recieved from upstream api code: remote-error, detail: status: 404, detail: error response recieved from upstream api

The same code worked 2 days ago so Yahoo definitely changed something.

sargon2 avatar Feb 19 '25 16:02 sargon2

Seems to have self-healed, at least for now.

sargon2 avatar Feb 19 '25 22:02 sargon2

... And broke again.

sargon2 avatar Feb 27 '25 16:02 sargon2

Im getting: Can't find quote for symbol: AAPL

skashmeri avatar Mar 03 '25 16:03 skashmeri

Forgot to mention I'm using the fork at https://github.com/psanford/finance-go. That one was working until this issue.

sargon2 avatar Mar 05 '25 03:03 sargon2

... And it looks like the fork updated. The updated version of the fork is working for me. I added this replace directive to the end of my go.mod:

replace github.com/piquette/finance-go => github.com/psanford/finance-go v0.0.0-20250222221941-906a725c60a0

sargon2 avatar Mar 05 '25 03:03 sargon2