Win10 x64 There was an unknown error while retrieving the price quotes.
Erik Colson
eco at ecocode.net
Wed Aug 12 03:08:09 EDT 2015
BrettE <dspdad at gmail.com> writes:
> GET /d/quotes.csv?f=snl1d1t1c1p2vbapomwerr1dyj1qa2c4&e=.csv&s=AMZN
> HTTP/1.1\r\n
>
> are all those crazy characters in the middle normal? I don't have a capture
> of a working request so I don't know. Not surprisingly yahoo replies with a
> "400 Bad Request".
hi BrettE,
Yes, those crazy chars are correct and needed by the yahoo download
site.
I checked with the stockdump script from Finance::Quote and this is
returned for AMZN using version 1.37.
> perl stockdump.pl yahoo AMZN
$VAR1 = {
'AMZNlow' => '522.00',
'AMZNdiv_date' => undef,
'AMZNex_div' => undef,
'AMZNlast' => '527.46',
'AMZNsymbol' => 'AMZN',
'AMZNcap' => '246700000000',
'AMZNopen' => '523.65',
'AMZNsuccess' => 1,
'AMZNisodate' => '2015-08-11',
'AMZNvolume' => '2676600',
'AMZNclose' => '524.00',
'AMZNtime' => '16:00',
'AMZNprice' => '527.46',
'AMZNask' => '529.50',
'AMZNeps' => '-0.41',
'AMZNhigh' => '528.98',
'AMZNnet' => '+3.46',
'AMZNp_change' => '+0.66',
'AMZNyear_range' => '284.00 - 580.57',
'AMZNdiv_yield' => undef,
'AMZNmethod' => 'yahoo',
'AMZNname' => 'Amazon.com, Inc.',
'AMZNavg_vol' => '3305790',
'AMZNdiv' => undef,
'AMZNcurrency' => 'USD',
'AMZNbid' => '528.85',
'AMZNpe' => undef,
'AMZNdate' => '08/11/2015',
'AMZNday_range' => '522.00 - 528.98'
};
This looks correct to me.
best
--
erik colson
More information about the gnucash-user
mailing list