Fix for stock price fetch from ASX

Chris Good goodchris96 at gmail.com
Thu Mar 8 15:54:27 EST 2018


Hi Larry,

 

It’s not up to me. It depends on the maintainers of Finance::Quote.

They are volunteers and have limited time like everybody.

Last time it was 15 months.

That’s why I’m sending instructions for installing a fix without having to wait for the maintainers.

 

Regards,

 

Chris Good

Mobile 0484 001 392

 

From: ln.mailinglists at iinet.net.au <ln.mailinglists at iinet.net.au> 
Sent: Friday, 9 March 2018 7:33 AM
To: goodchris96 at gmail.com; gnucash-user at gnucash.org
Subject: Fix for stock price fetch from ASX

 

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" <goodchris96 at gmail.com <mailto:goodchris96 at gmail.com> >
To: "'GnuCash User Mailing List'" <gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org> >
Subject: RE: Fix for stock price fetch from ASX
Message-ID: <009701d3b68f$eb6994a0$c23cbde0$@gmail.com <mailto:009701d3b68f$eb6994a0$c23cbde0$@gmail.com> >
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 <goodchris96 at gmail.com <mailto:goodchris96 at gmail.com> >
> Sent: Tuesday, 6 March 2018 7:14 AM
> To: 'GnuCash User Mailing List' <gnucash-user at gnucash.org <mailto: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 <http://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