[GNC] Issue with Finance::Quote

Bruce Schuck bschuck at asgard-systems.com
Fri Jul 28 12:54:55 EDT 2023


On 7/28/23 8:45 AM, bernard at 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.

C:\Users\bschuck>curl 
"https://www.alphavantage.co/query?function=GLOBAL_QUOTE&datatype=json&symbol=QQQ&apikey=YOURAPIKEY"
{
     "Global Quote": {
         "01. symbol": "QQQ",
         "02. open": "383.0700",
         "03. high": "384.7100",
         "04. low": "375.3100",
         "05. price": "376.6200",
         "06. volume": "63940225",
         "07. latest trading day": "2023-07-27",
         "08. previous close": "377.5200",
         "09. change": "-0.9000",
         "10. change percent": "-0.2384%"
     }
}

As stated, you can open an issue at 
https://github.com/finance-quote/finance-quote/issues. At the very least 
it would steer this thread off of the GnuCash-User list. But without 
being able to duplicate it, no guarantee that it can be resolved.

Thank you.

Bruce S.


More information about the gnucash-user mailing list