[GNC] Finance::quote YahooJSON
jacob at larsen.net
jacob at larsen.net
Wed Apr 10 16:12:21 EDT 2024
Hi
Did something happen to the YahooJSON module in Finance::Quote? Or
perhaps more likely the Yahoo API? I get this now, using Finance::Quote
version 1.59:
$ gnc-fq-dump -v yahoo_json EUNL.DE
Finance::Quote fields Gnucash uses:
symbol: EUNL.DE <=== required
date: ** missing ** <=== recommended
currency: ** missing ** <=== required
last: **missing** <=\
nav: **missing** <=== one of these
price: **missing** <=/
timezone: <=== optional
** This stock quote cannot be used by GnuCash!
All fields returned by Finance::Quote for stock EUNL.DE
stock field value
----- ----- -----
EUNL.DE errormsg: Error retrieving quote for EUNL.DE. Attempt to
fetch the URL
https://query2.finance.yahoo.com/v11/finance/quoteSummary/?symbol=EUNL.DE&modules=price,summaryDetail,defaultKeyStatistics
resulted in HTTP response 401 (Unauthorized)
EUNL.DE last: **missing**
EUNL.DE nav: **missing**
EUNL.DE price: **missing**
EUNL.DE success: 0
EUNL.DE symbol: EUNL.DE
Opening the link in a browser gets me this:
{"finance":{"result":null,"error":{"code":"Unauthorized","description":"Invalid
Crumb"}}}
There are 14 securities on the list that I am trying to update from this
source. Same operation worked yesterday.
/Jacob
More information about the gnucash-user
mailing list