[gnucash-de] Problem mit ALPHAVANTAGE_API_KEY

Pierre Keller pierre at kellerp.ch
So Nov 12 03:11:37 EST 2017


Hallo Liste

Ich bin ziemlich am verzweifeln :-(

Seit ein paar Stunden versuche ich vergeblich, den EUR:CHF-Kurs runterzuladen.
Es kommt eine allgemeine, unspezifische Fehlermeldung.

Ist es einem von Euch gelungen?

Ich habe alles neu installiert:

- Vorausgeschickt: ich arbeite unter Windows 7 Pro

- GnuCash ist jetzt 2.6.18

- Perl ist jetzt strawberry-perl-5.26.1.1-64bit:
C:\Program Files (x86)\gnucash\bin>perl -v

This is perl 5, version 26, subversion 1 (v5.26.1) built for MSWin32-x64-multi-t
hread

Copyright 1987-2017, Larry Wall


- Finance::Quote ist jetzt v1.45:
C:\Program Files (x86)\gnucash\bin>perl gnc-fq-check
("1.45" "adig" "aex" "aiahk" "alphavantage" "amfiindia" "asegr" [...]


- ich habe getan, was in der FAQ steht
https://wiki.gnucash.org/wiki/FAQ#Q:_Why_doesn.27t_online_quoting_work.3F
"API key" abgeholt und im "environment file" gespeichert.

Allerdings konnte ich das nicht tun:
> change the the type of quote source to "Unkown" and the source to "alphavantage"
denn Währungen sind fix gespeichert, sie lassen sich im Editor nich ändern.


- in der Hoffnung, weiterzukommen, habe ich gnc-fq-dump eingesetzt:

C:\Program Files (x86)\gnucash\bin>perl gnc-fq-dump -v  alphavantage CURRENCY:EU
R
Finance::Quote fields Gnucash uses:
     symbol: CURRENCY:EUR (deduced) <=== required
       date: ** missing **        <=== recommended
   currency: ** missing **        <=== required
       last:                      <=\
        nav:                      <=== one of these
      price:                      <=/
   timezone:                      <=== optional

** This stock quote cannot be used by GnuCash!


All fields returned by Finance::Quote for stock CURRENCY:EUR

stock           field  value
-----           -----  -----
CURRENCY:EUR   errormsg: Expected ALPHAVANTAGE_API_KEY to be set; get an API key
  at https://www.alphavantage.co
CURRENCY:EUR       last: **missing**
CURRENCY:EUR        nav: **missing**
CURRENCY:EUR      price: **missing**
CURRENCY:EUR    success: 0


C:\Program Files (x86)\gnucash\bin>


Hier kommt also die Fehlermeldung "Expected ALPHAVANTAGE_API_KEY to be set".
Doch den hatte ich doch gespeichert?!

Also: kann jemand weiterhelfen?

-- 

    Pierre Keller
    Carl-Lutz-Weg 3
    3006 Bern

    Fixe  : +41 21 616 42 62
    Mobile: +41 79 305 96 86


Mehr Informationen über die Mailingliste gnucash-de