Thanks for that suggestion - did that on 2 different Windows systems, both still fail the same way...

C:\Program Files (x86)\gnucash\bin>gnucash-cli -Q dump alphavantage QQQ
* 10:21:02 ERROR <gnc.price-quotes> [parse_quotesource_error()] Unrecognized Finance::Quote Error Can't use an undefined value as a HASH reference at C:/Strawberry/perl/site/lib/Finance/Quote/AlphaVantage.pm line 234. Finance::Quote retrieval failed with error Unrecognized Finance::Quote Error: Can't use an undefined value as a HASH reference at C:/Strawberry/perl/site/lib/Finance/Quote/AlphaVantage.pm line 234.

I've even tried a new Alphavantage API key (with different email) - same issue

Is Alphavantage the only solution? I see multiple other sources but not googleweb for example...

Thx,
B.


On 26/07/2023 23:57, john wrote:

It looks like your Alphavantage.pm got corrupted. Try opening the Strawberry 
Perl cpan shell and telling it `force install Finance::Quote` to reinstall it.

Regards,
John Ralls

On Jul 26, 2023, at 04:48, bern...@deprez.biz wrote:

Hi Ken,

I tried googleweb and get a response

C:\Program Files (x86)\gnucash\bin>gnucash-cli -Q dump googleweb QQQ
Finance::Quote fields GnuCash uses:
     symbol: QQQ             <=== required
       date: 07/25/2023      <=== recommended
   currency: USD             <=== required
       last: 378.78          <=\
        nav:                 <=== one of these
      price:                 <=/

That is indeed the last price available

So I guess it's an issue only with alphavantage? I triplechecked my API key (which 
is set both as an environment variable & in GnuCash) and it is the correct one.

Any other suggestions that could help me?

Thanks,
Bernard


On 25/07/2023 22:01, Ken Farley wrote:
Are you able to get quotes for that particular security using any of the other 
sources in F::Q, like googleweb, yahooweb, yahoo_json? I get prices from any 
one of those.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to