[GNC] Yahoo v6 and Gnucash 5.1 Online Quotes Changed again and not working

Bruce Schuck bschuck at asgard-systems.com
Wed May 24 19:47:44 EDT 2023


Starting sometime this afternoon failures of the 
"https://query2.finance.yahoo.com/v6/finance/quote?..." API/URL have 
been failing consistently.

There is already an F::Q issue opened, 
https://github.com/finance-quote/finance-quote/issues/282. No need to 
add "me too" messages to the comments.

Using one of the alternate Yahoo URLs such as 
"https://query2.finance.yahoo.com/v11/finance/quoteSummary/..." will be 
a bit more involved than a simple one-character fix. Concern is that 
Yahoo blocks access to that URL after doing the work. Possible changing 
to a web scrape of the "https://finance.yahoo.com/quote/..." is another 
possible solution, but again not a quick fix.

I may not have a lot of time in the next few weeks, so volunteers are 
more than welcome to rewrite the module (also note there is a now a 
CurrencyRates/YahooJSON.pm module that was able to get exchange rates) 
and submit a pull request.

Related to this, there is also a general discussion about exploring 
other F::Q quote sources at 
https://github.com/finance-quote/finance-quote/discussions/274.

Thank you.


More information about the gnucash-user mailing list