Fix for stock price fetch from ASX

ln.mailinglists at iinet.net.au ln.mailinglists at iinet.net.au
Thu Mar 8 15:32:44 EST 2018


Hi Chris,
Thanks for the fast fix on this - much appreciated. 
Do you know when this change is likely to be rolled out to CPAN? (no
urgency on my part - just curious about when I should plan to run the
update).
Cheers,
Larry

Date: Thu, 8 Mar 2018 14:45:32 +1100
From: "Chris Good" 
To: "'GnuCash User Mailing List'" 
Subject: RE: Fix for stock price fetch from ASX
Message-ID: 
Content-Type: text/plain; charset="us-ascii"
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 
> Sent: Tuesday, 6 March 2018 7:14 AM
> To: 'GnuCash User Mailing List' 
> 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:strawberryperlsitelibFinanceQuoteASX.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