Re: [GNC] Issue with Finance::Quote

2023-07-30 Thread bern...@deprez.biz
Hi Bruce, Confirmed it's back up and running - my quota reset overnight and now I'm able to pull quotes again! Again, thank you so much for your help! Bernard On 29/07/2023 15:21, Bruce Schuck wrote: On 7/29/23 05:06, bern...@deprez.biz wrote: I wasn't aware of the IP tracking and that may

Re: [GNC] Issue with Finance::Quote

2023-07-29 Thread Bruce Schuck
On 7/29/23 05:06, bern...@deprez.biz wrote: I wasn't aware of the IP tracking and that may be the explanation - without my knowledge, somebody else in my household was playing around with a Node-RED flow that was pulling a request from Alphavantage each minute with a third API key :-) We've

Re: [GNC] Issue with Finance::Quote

2023-07-29 Thread bern...@deprez.biz
Hi Bruce, I wasn't aware of the IP tracking and that may be the explanation - without my knowledge, somebody else in my household was playing around with a Node-RED flow that was pulling a request from Alphavantage each minute with a third API key :-)  We've now tuned that flow back to once

Re: [GNC] Issue with Finance::Quote

2023-07-28 Thread Bruce Schuck
On 7/28/23 12:31 PM, bern...@deprez.biz wrote: {     "Information": "Thank you for using Alpha Vantage! You have reached the 100 requests/day limit for your free API key. Please subscribe to any of the premium plans at https://www.alphavantage.co/premium/ to instantly remove all daily rate

Re: [GNC] Issue with Finance::Quote

2023-07-28 Thread bern...@deprez.biz
That's an interesting one... I ran this with my original API key (which worked till about a week ago) as well as a brand new one (created the day before yesterday, with a different email address) and both return this: {     "Information": "Thank you for using Alpha Vantage! You have reached

Re: [GNC] Issue with Finance::Quote

2023-07-28 Thread Bruce Schuck
On 7/28/23 8:45 AM, bern...@deprez.biz wrote: Just ran it in a fresh window: C:\Users\Bernard>perl -MFinance::Quote -e "print qq{{$Finance::Quote::VERSION\n}}" {1.57 } Bernard, One last command. curl. Replace "YOURAPIKEY" with, of course, your ALphaVantage API key.

Re: [GNC] Issue with Finance::Quote

2023-07-28 Thread bern...@deprez.biz
Hi Bruce, Sorry for not following the instructions :-) Just ran it in a fresh window: C:\Users\Bernard>perl -MFinance::Quote -e "print qq{{$Finance::Quote::VERSION\n}}" {1.57 } Thanks, B. On 28/07/2023 11:34, Bruce Schuck wrote: On 7/28/23 3:21 AM, bern...@deprez.biz wrote: The version

Re: [GNC] Issue with Finance::Quote

2023-07-28 Thread Bruce Schuck
On 7/28/23 3:21 AM, bern...@deprez.biz wrote: The version was in the C: path so didn't run the version command ;-) but ran it anyway, and I'm on {1.57} Bernard, Was that before of after you set PERL5LIB? It makes a difference. Please run the command in a new console window. Thank you.

Re: [GNC] Issue with Finance::Quote

2023-07-28 Thread bern...@deprez.biz
Hi Bruce, The version was in the C: path so didn't run the version command ;-) but ran it anyway, and I'm on {1.57} perl -V -- C:\Strawberry\cpan\build\Finance-Quote-1.57-0\Examples>perl -V Summary of my perl5 (revision 5 version 32 subversion 1) configuration:   Platform:  

Re: [GNC] Issue with Finance::Quote

2023-07-28 Thread bern...@deprez.biz
Hi John, Tried that - same issue: C:\Strawberry\cpan\build\Finance-Quote-1.57-0\Examples>perl stockdump.pl alphavantage QQQ Can't use an undefined value as a HASH reference at ../lib/Finance/Quote/AlphaVantage.pm line 234. I'll look into creating that issue today. Thanks! B. On 27/07/2023

Re: [GNC] Issue with Finance::Quote

2023-07-27 Thread Bruce Schuck
On 7/27/23 10:46 AM, bern...@deprez.biz wrote: Just gave that a shot: C:\Strawberry\cpan\build\Finance-Quote-1.57-0>perl Examples\stockdump.pl alphavantage QQQ Can't use an undefined value as a HASH reference at C:/Strawberry/perl/site/lib/Finance/Quote/AlphaVantage.pm line 234. You left

Re: [GNC] Issue with Finance::Quote

2023-07-27 Thread John Ralls
Try this: Open a Strawberry Perl shell, and run C:\Windows>set ALPHAVANTAGE_API_KEY=A1B2C3D4E5 C:\Windows>c:\Strawberry\cpan\build\Finance-Quote-1.57-0\Examples\stockdump.pl alphavantage QQQ If you still get the "Can't get an undefined value" error you have good reason to open an issue at

Re: [GNC] Issue with Finance::Quote

2023-07-27 Thread Bruce Schuck
On 7/27/23 10:37:17 -0400, Bernard wrote: 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 [parse_quotesource_error()] Unrecognized Finance::Quote

Re: [GNC] Issue with Finance::Quote

2023-07-27 Thread bern...@deprez.biz
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 [parse_quotesource_error()] Unrecognized Finance::Quote Error Can't use an undefined value as a HASH

Re: [GNC] Issue with Finance::Quote

2023-07-26 Thread john
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 > >

Re: [GNC] Issue with Finance::Quote

2023-07-26 Thread bern...@deprez.biz
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:

Re: [GNC] Issue with Finance::Quote

2023-07-25 Thread Ken Farley
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

Re: [GNC] Issue with Finance::Quote

2023-07-24 Thread bern...@deprez.biz
Hi John, I have GnuCash 5.3 with F::Q 1.57 - command line doesn't work either: C:\Program Files (x86)\gnucash\bin>gnucash-cli -Q dump alphavantage QQQ * 15:21:41 ERROR [parse_quotesource_error()] Unrecognized Finance::Quote Error Can't use an undefined value as a HASH reference at

Re: [GNC] Issue with Finance::Quote

2023-07-24 Thread john
Does gnucash-cli -Q dump alphavantage QQQ work? (It does for me, GnuCash 5.3 and F::Q 1.56) What version of F::Q are you using? Regards, John Ralls > On Jul 23, 2023, at 12:30, bern...@deprez.biz wrote: > > Hi all, > > since a few days, I've been unable to use the quotes from Alphavantage -

[GNC] Issue with Finance::Quote

2023-07-24 Thread bern...@deprez.biz
Hi all, since a few days, I've been unable to use the quotes from Alphavantage - the logs show following error: -- * 15:25:14  INFO [GncQuotesImpl::query_fq] Query JSON: {     "defaultcurrency": "USD",     "alphavantage": {     "QQQ": ""     } } * 15:25:15 ERROR