[gnucash-de] Online Kursabfrage
Thomas Köller
thomas at krokinole.de
Sa Feb 21 17:36:01 EST 2026
Nach viel Herumprobieren habe ich herausgefunden (vielleicht
interessiert es ja irgendwen), dass all die länglichen Erläuterungen in
der Onlinehilfe zum Thema Kursabfrage Unsinn sind. Nicht irgendwelche
Symbole, die zu der jeweiligen Kursquelle passend gewählt werden müssen,
sondern einfach die ISIN des Wertpapiers ist der Schlüssel für den Lookup:
[thomas at sarkovy ~]$ gnucash-cli -V -Q dump tradegate 'DE000TUAG505'
* 23:24:09 WARN <gnc.price-quotes> [GncFQQuoteSource::set_api_key()] No
Alpha Vantage API key set, currency quotes and other AlphaVantage based
quotes won't work.
DE000TUAG505:
symbol => DE000TUAG505
high => 8.174
currency => EUR
price => 8.144
volume => 1.100
p_change => -1.09
success => 1
low => 8.126
close => 8.234
last => 8.144
isin => DE000TUAG505
open => 8.240
change => -0.090
time => 21:59
method => Tradegate
name => TUI AG Namens-Aktien o.N.
exchange => Tradegate
isodate => 2026-02-20
date => 02/20/2026
Fazit: die Dokumentation führt in die Irre, und die Fehlermeldung von
Finance::Quote ist auch nicht unbedingt hilfreich.
On 11.02.26 16:55, Thomas Köller wrote:
> Ich bekomme es einfach nicht gebacken:
>
> [thomas at sarkovy ~]$ gnucash-cli --extra -Q dump tradegate 'TUI1n'
> * 16:48:43 WARN <gnc.price-quotes> [GncFQQuoteSource::set_api_key()]
> No Alpha Vantage API key set, currency quotes and other AlphaVantage
> based quotes won't work.
> Finance::Quote reported a failure for symbol TUI1n: Error retreiving
> TUI1n: Can't call method "look_down" on an undefined value at
> /usr/share/perl5/vendor_perl/Finance/Quote/Tradegate.pm line 89.
>
> Zunächst verstehe ich nicht, was mir die Fehlermeldung bzgl.
> AlphaVantage sagen will; das wird doch gar nicht verwendet. Die zweite
> Zeile bekomme ich immer, unabhängig von der Quelle oder dem Symbol, z.
> B.:
>
> [thomas at sarkovy ~]$ gnucash-cli --extra -Q dump europe 'TUI1n'
> * 16:51:51 WARN <gnc.price-quotes> [GncFQQuoteSource::set_api_key()]
> No Alpha Vantage API key set, currency quotes and other AlphaVantage
> based quotes won't work.
> Finance::Quote reported a failure for symbol TUI1n: Error retreiving
> TUI1n: Can't call method "look_down" on an undefined value at
> /usr/share/perl5/vendor_perl/Finance/Quote/XETRA.pm line 91.
>
> Meine Installation ist wohl ok, denke ich:
>
> [thomas at sarkovy ~]$ gnucash-cli --extra -Q info
> * 16:33:44 WARN <gnc.price-quotes> [GncFQQuoteSource::set_api_key()]
> No Alpha Vantage API key set, currency quotes and other AlphaVantage
> based quotes won't work.
> Found Finance::Quote version 1.68.
> Finance::Quote sources:
> aex alphavantage amfiindia asegr asx
> australia bats borsa_italiana bourso bseindia
> bvb canada comdirect consorsbank cse deka
> dutch euronext europe fetch_live_currencies financeapi
> finanzpartner fondsweb fool france ftfunds
> goldmoney googleweb greece india indiamutual
> known_currencies marketwatch morningstarch
> morningstarjp morningstaruk mstarch mstaruk
> nasdaq nseindia nyse nzx onvista poland
> romania sinvestor six stockdata stooq
> swissfunddata tesouro_direto tmx tradegate
> tradeville treasurydirect tsp tsx twelvedata
> ukfunds unionfunds usa usbonds xetra yahoo_json
> yahoojson yahooweb za
>
> Bitte Hilfe!
>
> Thomas
>
>
Mehr Informationen über die Mailingliste gnucash-de