Finance::Quote still not working with alphavantage
John Ralls
jralls at ceridwen.us
Sun Nov 19 16:28:22 EST 2017
> On Nov 19, 2017, at 1:19 PM, Erik Colson <eco at ecocode.net> wrote:
>
>
> John Ralls <jralls at ceridwen.us> writes:
>
>> Looks to me like Alphavantage's server has a problem.
>
> Not for me..
>
> ~/DEVELOPMENT/finance-quote >>> perl -Ilib Examples/stockdump.pl alphavantage T
> $VAR1 = {
> 'Tisodate' => '2017-11-17',
> 'Tcurrency' => 'USD',
> 'Thigh' => '34.8800',
> 'Tlast' => '34.5100',
> 'Tsuccess' => 1,
> 'Tlow' => '34.3500',
> 'Tclose' => '34.5100',
> 'Topen' => '34.4300',
> 'Tdate' => '11/17/2017',
> 'Tvolume' => '36883419',
> 'Tcurrency_set_by_fq' => 1,
> 'Tsymbol' => 'T',
> 'Tmethod' => 'alphavantage'
> };
Works for me now, too:
ALPHAVANTAGE_API_KEY=############### /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump alphavantage T
Finance::Quote fields Gnucash uses:
symbol: T <=== required
date: 11/17/2017 <=== recommended
currency: USD <=== required
last: 34.5100 <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
Regards,
John Ralls
More information about the gnucash-user
mailing list