Stock quote can't be updated

Frank H. Ellenberger frank.h.ellenberger at gmail.com
Thu Apr 27 18:40:27 EDT 2017


Hi John,

Am 27.04.2017 um 23:52 schrieb John Bonnett:
> Hello,
> 
> I am also suddenly having a problem retrieving quotes from ASX
> (Australian Stock Exchange). I tried making sure I had the latest Perl
> but still no luck. It was all working fine until a few days ago, about
> 21 April
> 
> Most of my stocks are on ASX but I have one on NASDAQ that continues to
> work OK. All the ASX ones now say they cannot retrieve. Something
> changed at ASX?
> 
> I tried running gnc-fq-dump on one stock as follows:
> 
> C:\Program Files (x86)\gnucash\bin>perl gnc-fq-dump asx AFI
> Finance::Quote fields Gnucash uses:
>     symbol: AFI (deduced)        <=== required
>       date: ** missing **        <=== recommended
>   currency: ** missing **        <=== required
>       last:                      <=\
>        nav:                      <=== one of these
>      price:                      <=/
>   timezone:                      <=== optional
> 
> ** This stock quote cannot be used by GnuCash!

If you run it with the verbose flag
 gnc-fq-dump -v asx afi
you get additional:

All fields returned by Finance::Quote for stock afi

stock field value
----- ----- -----
afi errormsg: Failed to parse HTML table.
afi last: **missing**
afi nav: **missing**
afi price: **missing**
afi success: 0

while
http://www.asx.com.au/asx/markets/equityPrices.do?by=asxCodes&asxCodes=AFI
returns some data. So it seems, they modified the layout of the page.

> I am on Windows 10.
> 
> Any suggestions?

Perhaps Chris can ghelp you.

> John Bonnett

Frank


More information about the gnucash-user mailing list