Here we go again....

The ASX released a major overhaul of their web site a couple of days ago, and I suspect this has broken the screen scraping logic in the (Perl) Finance Quote ASX.pm module.

Screens and URLs have both been changed.  For example, this (old style) URL:
https://www.asx.com.au/asx/share-price-research/company/XXX
now redirects to:
https://www2.asx.com.au/markets/company/XXX

My version of Finance Quote (1.49) uses this URL:
http://www.asx.com.au/asx/markets/priceLookup.do?by=asxCodes&asxCodes=XXX
which now redirects to:
https://www2.asx.com.au/markets/trade-our-cash-market/directory
and doesn't contain prices.

The Yahoo_JSON data source *appears* to be working with the GnuCash gnc-dump utility:

C:\Program Files (x86)\gnucash\bin>perl gnc-fq-dump yahoo_json NAB.AX
Finance::Quote fields Gnucash uses:
    symbol: NAB.AX               <=== required
      date: 10/13/2020           <=== recommended
  currency: AUD                  <=== required
      last: 19.35                <=\
       nav:                      <=== one of these
     price:                      <=/
  timezone:                      <=== optional

C:\Program Files (x86)\gnucash\bin>perl gnc-fq-dump yahoo_json NABHA.AX
Finance::Quote fields Gnucash uses:
    symbol: NABHA.AX             <=== required
      date: 10/13/2020           <=== recommended
  currency: AUD                  <=== required
      last: 98                   <=\
       nav:                      <=== one of these
     price:                      <=/
  timezone:                      <=== optional

However, after a quick experiment, I couldn't get this to work 100% in GnuCash itself.


The Finance Quote home page has no news since 1.49 was released on 30-Jun-2019:
https://www.google.com.au/search?q=perl+finance+quote


Geoff
=====

On 13/10/2020 9:16 pm, dull...@gmail.com wrote:
Okay I see this is reported here:
https://github.com/finance-quote/finance-quote/issues/166


-----Original Message-----
From: gnucash-user <gnucash-user-bounces+dullege=gmail....@gnucash.org> On
Behalf Of wrd2093au
Sent: Tuesday, 13 October 2020 2:44 PM
To: gnucash-user@gnucash.org
Subject: [GNC] ASX quotes not working

I'm in Australia and suddenly all my stock price updates from ASX are now
failing the past couple of days - anyone experienced this?  I have two
different PCs ... both showing same problem.  The source for the quotes in
the Security Editor is single "Australian Stock Exchange, AU".

This is version 4.1 gnucash, Finance::quote version 1.49 ... under Windows
10.



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to