Quantcast

Stock price fetch from ASX broken?

classic Classic list List threaded Threaded
8 messages Options
prl
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Stock price fetch from ASX broken?

prl
For the past two weeks, I haven't been able to fetch stock prices from
the Australian Stock Exchange, AU (ASX) source in GnuCash.

It looks like the ASX has changed something on their Web page that
breaks the Finance::Quote screen scraper for ASX:

Cambyses:bin prl$ ./gnc-fq-dump -v asx TLS
Finance::Quote fields Gnucash uses:
     symbol: TLS (deduced)        <=== required
       date: ** missing **        <=== recommended
   currency: ** missing **        <=== required
       last:                      <=\
        nav:                      <=== one of these
      price:                      <=/
   timezone:                      <=== optional

** This stock quote cannot be used by GnuCash!

All fields returned by Finance::Quote for stock TLS

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

Cambyses:bin prl$

Using the yahoo_australia source for the same stock code works:

Cambyses:bin prl$ ./gnc-fq-dump yahoo_australia TLS
Finance::Quote fields Gnucash uses:
     symbol: TLS.AX               <=== required
       date: 05/05/2017           <=== recommended
   currency: AUD                  <=== required
       last: 4.40                 <=\
        nav:                      <=== one of these
      price: 4.40                 <=/
   timezone:                      <=== optional
Cambyses:bin prl$

I guess this is something I need to talk to the Finance::Quote
maintainer about?


Cheers,
Peter

_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Stock price fetch from ASX broken?

Les Elliott
I have 2 stocks listed on ASX and both have been updating without
problem.  Try going to the ASX website and check the listing for you
stock.  Sometimes the symbol gets changed.

Regards,

Les


On 05/06/2017 07:16 AM, Chris Good wrote:

>      Message: 4
>      Date: Sat, 6 May 2017 11:59:21 +1000
>      From: prl <[hidden email]>
>      To: "[hidden email]" <[hidden email]>
>      Subject: Stock price fetch from ASX broken?
>      Message-ID: <[hidden email]>
>      Content-Type: text/plain; charset=utf-8; format=flowed
>      For the past two weeks, I haven't been able to fetch stock prices
>      from
>      the Australian Stock Exchange, AU (ASX) source in GnuCash.
>      It looks like the ASX has changed something on their Web page that
>      breaks the Finance::Quote screen scraper for ASX:
>      Cambyses:bin prl$ ./gnc-fq-dump -v asx TLS
>      Finance::Quote fields Gnucash uses:
>           symbol: TLS (deduced)        <=== required
>             date: ** missing **        <=== recommended
>         currency: ** missing **        <=== required
>             last:                      <=\
>              nav:                      <=== one of these
>            price:                      <=/
>         timezone:                      <=== optional
>      ** This stock quote cannot be used by GnuCash!
>      All fields returned by Finance::Quote for stock TLS
>      stock           field  value
>      -----           -----  -----
>      TLS          errormsg: Failed to parse HTML table.<<<<<< Here
>      TLS              last: **missing**
>      TLS               nav: **missing**
>      TLS             price: **missing**
>      TLS           success: 0
>      Cambyses:bin prl$
>      Using the yahoo_australia source for the same stock code works:
>      Cambyses:bin prl$ ./gnc-fq-dump yahoo_australia TLS
>      Finance::Quote fields Gnucash uses:
>           symbol: TLS.AX               <=== required
>             date: 05/05/2017           <=== recommended
>         currency: AUD                  <=== required
>             last: 4.40                 <=\
>              nav:                      <=== one of these
>            price: 4.40                 <=/
>         timezone:                      <=== optional
>      Cambyses:bin prl$
>      I guess this is something I need to talk to the Finance::Quote
>      maintainer about?
>      Cheers,
>      Peter
>
>    Hi Peter,
>    This was reported recently as starting around 21 April. I'm no web
>    expert but I've had a look and it seems to me the web page used no
>    longer works unless the browser supports javascript. I've found an
>    alternate web page (m.asx.com.au for mobile devices) that doesn't seem
>    to have this restriction and works from the perl library used so long
>    as cookies are also turned on. Unfortunately, I cannot find a way for
>    it to request quotes for multiple stocks at once, so the fix I'm
>    working on maybe slower than it was. Also, it doesn't include all the
>    info that it previously did, but it does have enough for GnuCash. I
>    hope to have a fix available in a couple of days.
>    There is another m.asx.com.au page that does contain all the previous
>    info but also needs javascript. If anyone can find a way to bypass the
>    javascript problem, I'd like to hear it. I've tried  setting UserAgent
>    to pretend to be various versions of IE.
>    I haven't supplied the exact urls now as I'm not at my computer. If
>    anyone can help, please let me know.
>    Also, Eric Colson (the Finance::Quote maintainer as far as I know)
>    seems to be incommunicado, so I can only supply a fix file to be
>    manually installed, not get my fix incorporated into F::Q.
>    Thankfully yahoo_australia is an alternative but it's good to have a
>    working backup source for aussie quotes.
>    Regards, Chris Good
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> 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
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Stock price fetch from ASX broken?

ChrisGood
In reply to this post by prl
> Message: 2

> Date: Sat, 6 May 2017 09:34:14 -0500
> From: Les <[hidden email]>
> To: [hidden email]
> Subject: Re: Stock price fetch from ASX broken?
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=windows-1252
>
> I have 2 stocks listed on ASX and both have been updating without problem.
> Try going to the ASX website and check the listing for you stock.
Sometimes

> the symbol gets changed.
>
> Regards,
>
> Les
>
>
> On 05/06/2017 07:16 AM, Chris Good wrote:
> >      Message: 4
> >      Date: Sat, 6 May 2017 11:59:21 +1000
> >      From: prl <[hidden email]>
> >      To: "[hidden email]" <[hidden email]>
> >      Subject: Stock price fetch from ASX broken?
> >      Message-ID: <06109c86-16d5-ff6a-1c3f-
> [hidden email]>
> >      Content-Type: text/plain; charset=utf-8; format=flowed
> >      For the past two weeks, I haven't been able to fetch stock prices
> >      from
> >      the Australian Stock Exchange, AU (ASX) source in GnuCash.
> >      It looks like the ASX has changed something on their Web page that
> >      breaks the Finance::Quote screen scraper for ASX:
> >      Cambyses:bin prl$ ./gnc-fq-dump -v asx TLS
> >      Finance::Quote fields Gnucash uses:
> >           symbol: TLS (deduced)        <=== required
> >             date: ** missing **        <=== recommended
> >         currency: ** missing **        <=== required
> >             last:                      <=\
> >              nav:                      <=== one of these
> >            price:                      <=/
> >         timezone:                      <=== optional
> >      ** This stock quote cannot be used by GnuCash!
> >      All fields returned by Finance::Quote for stock TLS
> >      stock           field  value
> >      -----           -----  -----
> >      TLS          errormsg: Failed to parse HTML table.<<<<<< Here
> >      TLS              last: **missing**
> >      TLS               nav: **missing**
> >      TLS             price: **missing**
> >      TLS           success: 0
> >      Cambyses:bin prl$
> >      Using the yahoo_australia source for the same stock code works:
> >      Cambyses:bin prl$ ./gnc-fq-dump yahoo_australia TLS
> >      Finance::Quote fields Gnucash uses:
> >           symbol: TLS.AX               <=== required
> >             date: 05/05/2017           <=== recommended
> >         currency: AUD                  <=== required
> >             last: 4.40                 <=\
> >              nav:                      <=== one of these
> >            price: 4.40                 <=/
> >         timezone:                      <=== optional
> >      Cambyses:bin prl$
> >      I guess this is something I need to talk to the Finance::Quote
> >      maintainer about?
> >      Cheers,
> >      Peter
> >
> >    Hi Peter,
> >    This was reported recently as starting around 21 April. I'm no web
> >    expert but I've had a look and it seems to me the web page used no
> >    longer works unless the browser supports javascript. I've found an
> >    alternate web page (m.asx.com.au for mobile devices) that doesn't
seem
> >    to have this restriction and works from the perl library used so long
> >    as cookies are also turned on. Unfortunately, I cannot find a way for
> >    it to request quotes for multiple stocks at once, so the fix I'm
> >    working on maybe slower than it was. Also, it doesn't include all the
> >    info that it previously did, but it does have enough for GnuCash. I
> >    hope to have a fix available in a couple of days.
> >    There is another m.asx.com.au page that does contain all the previous
> >    info but also needs javascript. If anyone can find a way to bypass
the
> >    javascript problem, I'd like to hear it. I've tried  setting
UserAgent

> >    to pretend to be various versions of IE.
> >    I haven't supplied the exact urls now as I'm not at my computer. If
> >    anyone can help, please let me know.
> >    Also, Eric Colson (the Finance::Quote maintainer as far as I know)
> >    seems to be incommunicado, so I can only supply a fix file to be
> >    manually installed, not get my fix incorporated into F::Q.
> >    Thankfully yahoo_australia is an alternative but it's good to have a
> >    working backup source for aussie quotes.
> >    Regards, Chris Good
> > _______________________________________________
Hi Les,

Perhaps you have your price source in the Security Editor set to
'Multiple, Australia (ASX, Yahoo, ...)' which falls back to Yahoo
Australia if ASX fails?

Regards, Chris Good

_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

smime.p7s (8K) Download Attachment
prl
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Stock price fetch from ASX broken?

prl
In reply to this post by Les Elliott
I rather doubt that the stock code for Telstra (TLS) has changed. The
fetch is also failing for Commonwealth Bank (CBA), Insurance Australia
(IAG) and Qantas (QAN). I strongly doubt that they all changed in the
same week!

And in any case, searches for all of those codes work when I search for
them on the asx.com.au web pages through my browser.

Cheers,
Peter

On 7/05/2017 00:34, Les wrote:

> I have 2 stocks listed on ASX and both have been updating without
> problem.  Try going to the ASX website and check the listing for you
> stock.  Sometimes the symbol gets changed.
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> 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
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
prl
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Stock price fetch from ASX broken?

prl
In reply to this post by prl
Thanks, Chris.

I rather suspected that it was some change that ASX had made to their pages.

I can probably patch F::Q myself to use the mobile version of the ASX
pages, but for now I'll just use the yahoo_australia quotes source.

Cheers,
Peter

On 6/05/2017 22:16, Chris Good wrote:

>       Message: 4
>       Date: Sat, 6 May 2017 11:59:21 +1000
>       From: prl <[hidden email]>
>       To: "[hidden email]" <[hidden email]>
>       Subject: Stock price fetch from ASX broken?
>       Message-ID: <[hidden email]>
>       Content-Type: text/plain; charset=utf-8; format=flowed
>       For the past two weeks, I haven't been able to fetch stock prices
>       from
>       the Australian Stock Exchange, AU (ASX) source in GnuCash.
>       It looks like the ASX has changed something on their Web page that
>       breaks the Finance::Quote screen scraper for ASX:
>       Cambyses:bin prl$ ./gnc-fq-dump -v asx TLS
>       Finance::Quote fields Gnucash uses:
>            symbol: TLS (deduced)        <=== required
>              date: ** missing **        <=== recommended
>          currency: ** missing **        <=== required
>              last:                      <=\
>               nav:                      <=== one of these
>             price:                      <=/
>          timezone:                      <=== optional
>       ** This stock quote cannot be used by GnuCash!
>       All fields returned by Finance::Quote for stock TLS
>       stock           field  value
>       -----           -----  -----
>       TLS          errormsg: Failed to parse HTML table.<<<<<< Here
>       TLS              last: **missing**
>       TLS               nav: **missing**
>       TLS             price: **missing**
>       TLS           success: 0
>       Cambyses:bin prl$
>       Using the yahoo_australia source for the same stock code works:
>       Cambyses:bin prl$ ./gnc-fq-dump yahoo_australia TLS
>       Finance::Quote fields Gnucash uses:
>            symbol: TLS.AX               <=== required
>              date: 05/05/2017           <=== recommended
>          currency: AUD                  <=== required
>              last: 4.40                 <=\
>               nav:                      <=== one of these
>             price: 4.40                 <=/
>          timezone:                      <=== optional
>       Cambyses:bin prl$
>       I guess this is something I need to talk to the Finance::Quote
>       maintainer about?
>       Cheers,
>       Peter
>
>     Hi Peter,
>     This was reported recently as starting around 21 April. I'm no web
>     expert but I've had a look and it seems to me the web page used no
>     longer works unless the browser supports javascript. I've found an
>     alternate web page (m.asx.com.au for mobile devices) that doesn't seem
>     to have this restriction and works from the perl library used so long
>     as cookies are also turned on. Unfortunately, I cannot find a way for
>     it to request quotes for multiple stocks at once, so the fix I'm
>     working on maybe slower than it was. Also, it doesn't include all the
>     info that it previously did, but it does have enough for GnuCash. I
>     hope to have a fix available in a couple of days.
>     There is another m.asx.com.au page that does contain all the previous
>     info but also needs javascript. If anyone can find a way to bypass the
>     javascript problem, I'd like to hear it. I've tried  setting UserAgent
>     to pretend to be various versions of IE.
>     I haven't supplied the exact urls now as I'm not at my computer. If
>     anyone can help, please let me know.
>     Also, Eric Colson (the Finance::Quote maintainer as far as I know)
>     seems to be incommunicado, so I can only supply a fix file to be
>     manually installed, not get my fix incorporated into F::Q.
>     Thankfully yahoo_australia is an alternative but it's good to have a
>     working backup source for aussie quotes.
>     Regards, Chris Good
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> 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
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Stock price fetch from ASX broken?

Les Elliott
In reply to this post by ChrisGood


On 05/06/2017 05:40 PM, Chris Good wrote:

>> Message: 2
>> Date: Sat, 6 May 2017 09:34:14 -0500
>> From: Les <[hidden email]>
>> To: [hidden email]
>> Subject: Re: Stock price fetch from ASX broken?
>> Message-ID: <[hidden email]>
>> Content-Type: text/plain; charset=windows-1252
>>
>> I have 2 stocks listed on ASX and both have been updating without problem.
>> Try going to the ASX website and check the listing for you stock.
> Sometimes
>> the symbol gets changed.
>>
>> Regards,
>>
>> Les
>>
>>
>> On 05/06/2017 07:16 AM, Chris Good wrote:
>>>      Message: 4
>>>      Date: Sat, 6 May 2017 11:59:21 +1000
>>>      From: prl <[hidden email]>
>>>      To: "[hidden email]" <[hidden email]>
>>>      Subject: Stock price fetch from ASX broken?
>>>      Message-ID: <06109c86-16d5-ff6a-1c3f-
>> [hidden email]>
>>>      Content-Type: text/plain; charset=utf-8; format=flowed
>>>      For the past two weeks, I haven't been able to fetch stock prices
>>>      from
>>>      the Australian Stock Exchange, AU (ASX) source in GnuCash.
>>>      It looks like the ASX has changed something on their Web page that
>>>      breaks the Finance::Quote screen scraper for ASX:
>>>      Cambyses:bin prl$ ./gnc-fq-dump -v asx TLS
>>>      Finance::Quote fields Gnucash uses:
>>>           symbol: TLS (deduced)        <=== required
>>>             date: ** missing **        <=== recommended
>>>         currency: ** missing **        <=== required
>>>             last:                      <=\
>>>              nav:                      <=== one of these
>>>            price:                      <=/
>>>         timezone:                      <=== optional
>>>      ** This stock quote cannot be used by GnuCash!
>>>      All fields returned by Finance::Quote for stock TLS
>>>      stock           field  value
>>>      -----           -----  -----
>>>      TLS          errormsg: Failed to parse HTML table.<<<<<< Here
>>>      TLS              last: **missing**
>>>      TLS               nav: **missing**
>>>      TLS             price: **missing**
>>>      TLS           success: 0
>>>      Cambyses:bin prl$
>>>      Using the yahoo_australia source for the same stock code works:
>>>      Cambyses:bin prl$ ./gnc-fq-dump yahoo_australia TLS
>>>      Finance::Quote fields Gnucash uses:
>>>           symbol: TLS.AX               <=== required
>>>             date: 05/05/2017           <=== recommended
>>>         currency: AUD                  <=== required
>>>             last: 4.40                 <=\
>>>              nav:                      <=== one of these
>>>            price: 4.40                 <=/
>>>         timezone:                      <=== optional
>>>      Cambyses:bin prl$
>>>      I guess this is something I need to talk to the Finance::Quote
>>>      maintainer about?
>>>      Cheers,
>>>      Peter
>>>
>>>    Hi Peter,
>>>    This was reported recently as starting around 21 April. I'm no web
>>>    expert but I've had a look and it seems to me the web page used no
>>>    longer works unless the browser supports javascript. I've found an
>>>    alternate web page (m.asx.com.au for mobile devices) that doesn't
> seem
>>>    to have this restriction and works from the perl library used so long
>>>    as cookies are also turned on. Unfortunately, I cannot find a way for
>>>    it to request quotes for multiple stocks at once, so the fix I'm
>>>    working on maybe slower than it was. Also, it doesn't include all the
>>>    info that it previously did, but it does have enough for GnuCash. I
>>>    hope to have a fix available in a couple of days.
>>>    There is another m.asx.com.au page that does contain all the previous
>>>    info but also needs javascript. If anyone can find a way to bypass
> the
>>>    javascript problem, I'd like to hear it. I've tried  setting
> UserAgent
>>>    to pretend to be various versions of IE.
>>>    I haven't supplied the exact urls now as I'm not at my computer. If
>>>    anyone can help, please let me know.
>>>    Also, Eric Colson (the Finance::Quote maintainer as far as I know)
>>>    seems to be incommunicado, so I can only supply a fix file to be
>>>    manually installed, not get my fix incorporated into F::Q.
>>>    Thankfully yahoo_australia is an alternative but it's good to have a
>>>    working backup source for aussie quotes.
>>>    Regards, Chris Good
>>> _______________________________________________
> Hi Les,
>
> Perhaps you have your price source in the Security Editor set to
> 'Multiple, Australia (ASX, Yahoo, ...)' which falls back to Yahoo
> Australia if ASX fails?
>
> Regards, Chris Good
Hi Chris:
You are correct, I am using "multiple".

Les
_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Stock price fetch from ASX broken?

ChrisGood
In reply to this post by prl
> Message: 1

> Date: Sat, 06 May 2017 22:16:34 +1000
> From: Chris Good <[hidden email]>
> To: GnuCash User Mailing List <[hidden email]>
> Cc: GnuCash Developers <[hidden email]>
> Subject: Re: Stock price fetch from ASX broken?
> Message-ID: <1acb8b1b-e4ac-4224-89fd-
> [hidden email]>
> Content-Type: text/plain; charset="utf-8"
>
>      Message: 4
>      Date: Sat, 6 May 2017 11:59:21 +1000
>      From: prl <[hidden email]>
>      To: "[hidden email]" <[hidden email]>
>      Subject: Stock price fetch from ASX broken?
>      Message-ID: <[hidden email]>
>      Content-Type: text/plain; charset=utf-8; format=flowed
>      For the past two weeks, I haven't been able to fetch stock prices
>      from
>      the Australian Stock Exchange, AU (ASX) source in GnuCash.
>      It looks like the ASX has changed something on their Web page that
>      breaks the Finance::Quote screen scraper for ASX:
>      Cambyses:bin prl$ ./gnc-fq-dump -v asx TLS
>      Finance::Quote fields Gnucash uses:
>           symbol: TLS (deduced)        <=== required
>             date: ** missing **        <=== recommended
>         currency: ** missing **        <=== required
>             last:                      <=\
>              nav:                      <=== one of these
>            price:                      <=/
>         timezone:                      <=== optional
>      ** This stock quote cannot be used by GnuCash!
>      All fields returned by Finance::Quote for stock TLS
>      stock           field  value
>      -----           -----  -----
>      TLS          errormsg: Failed to parse HTML table.<<<<<< Here
>      TLS              last: **missing**
>      TLS               nav: **missing**
>      TLS             price: **missing**
>      TLS           success: 0
>      Cambyses:bin prl$
>      Using the yahoo_australia source for the same stock code works:
>      Cambyses:bin prl$ ./gnc-fq-dump yahoo_australia TLS
>      Finance::Quote fields Gnucash uses:
>           symbol: TLS.AX               <=== required
>             date: 05/05/2017           <=== recommended
>         currency: AUD                  <=== required
>             last: 4.40                 <=\
>              nav:                      <=== one of these
>            price: 4.40                 <=/
>         timezone:                      <=== optional
>      Cambyses:bin prl$
>      I guess this is something I need to talk to the Finance::Quote
>      maintainer about?
>      Cheers,
>      Peter
>
>    Hi Peter,
>    This was reported recently as starting around 21 April. I'm no web
>    expert but I've had a look and it seems to me the web page used no
>    longer works unless the browser supports javascript. I've found an
>    alternate web page (m.asx.com.au for mobile devices) that doesn't seem
>    to have this restriction and works from the perl library used so long
>    as cookies are also turned on. Unfortunately, I cannot find a way for
>    it to request quotes for multiple stocks at once, so the fix I'm
>    working on maybe slower than it was. Also, it doesn't include all the
>    info that it previously did, but it does have enough for GnuCash. I
>    hope to have a fix available in a couple of days.
>    There is another m.asx.com.au page that does contain all the previous
>    info but also needs javascript. If anyone can find a way to bypass the
>    javascript problem, I'd like to hear it. I've tried  setting UserAgent
>    to pretend to be various versions of IE.
>    I haven't supplied the exact urls now as I'm not at my computer. If
>    anyone can help, please let me know.
>    Also, Eric Colson (the Finance::Quote maintainer as far as I know)
>    seems to be incommunicado, so I can only supply a fix file to be
>    manually installed, not get my fix incorporated into F::Q.
>    Thankfully yahoo_australia is an alternative but it's good to have a
>    working backup source for aussie quotes.
>    Regards, Chris Good
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/iss46FqASX/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.

I've noticed that both the old & new url's do not work for indices (eg XAO
Australian Ordinaries) even in IE11, but the comments in ASX.pm lead me to
believe that they once did. Can anyone shed any light on this?
I suppose they wouldn't be useful in GnuCash as there is no currency
returned by ASX.pm anyway, which GC requires.

If anyone is interested, I think I could modify ASX.pm to return indices
info as this is available from http://m.asx.com.au/m/prices/indices.xhtml
Is anyone interested?

Regards, Chris Good

_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

smime.p7s (8K) Download Attachment
prl
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Stock price fetch from ASX broken?

prl
On 11/05/2017 08:11, Chris Good wrote:
> ...
> 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:
Thanks for the effort you put into this, Chis, but I think I'll hold off
until the fix is available via CPAN.

Peter
_______________________________________________
gnucash-user mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Loading...