Fix for stock price fetch from ASX

Chris Good goodchris96 at gmail.com
Wed Mar 7 22:45:32 EST 2018


Hi,

If you installed the new ASX.pm after my mail below, please do it again as I
left out a line that causes the currency to be omitted when looking up a
stock which begins with X which is not an index, E.g XRO.
Sorry for the inconvenience.

Regards, Chris Good

> -----Original Message-----
> From: Chris Good <goodchris96 at gmail.com>
> Sent: Tuesday, 6 March 2018 7:14 AM
> To: 'GnuCash User Mailing List' <gnucash-user at gnucash.org>
> Subject: Fix for stock price fetch from ASX
> 
> The ASX has changed their m.asx.com.au web page on approx. Feb 11 2018
> which means the GnuCash source Australian Stock Exchange no longer works.
> 
> There is now a fix for this problem available, but it is not yet included
in the
> official Finance::Quote module available from CPAN.
> If you'd like to manually install the fix now, it is available on github:
> Enter
> https://github.com/goodvibes2/finance-
> quote/blob/FqIss80ASX/lib/Finance/Quot
> e/ASX.pm
> in a browser, click on the Raw button which should open the contents of
the
> new ASX.pm file on a new page.
> Use Control-A to highlight it all, then paste it into a text editor (say
Notepad for
> Windows, gedit for Linux), then 'Save As' over the top of the existing
ASX.pm:
> 
> Windows (Strawberry Perl):
>   C:\strawberry\perl\site\lib\Finance\Quote\ASX.pm
> 
> Linux
>   /usr/local/share/perl/5.22.1/Finance/Quote/ASX.pm
> 
> Sorry, I don't have a Mac so I cannot provide instructions, but I guess
you just
> find ASX.pm and replace it with the new version from the above github
link.
> 
> The fix goes back to using www.asx.com.au/asx/markets/priceLookup.do which
> now works again.
> Unfortunately the following fields are no longer available (not needed for
> GnuCash anyway):
> date, name, div_yield, eps, pe + year_range.
> There is a date available but it is always today, so this script does not
return it.
> GnuCash gnc-fq-helper will default it to today.
> 
> Regards, Chris Good




More information about the gnucash-user mailing list