[GNC] ASX Online quotes problem
Richard Spinney
rspinney20 at gmail.com
Thu Jun 30 05:40:45 EDT 2022
As a note, it might be relevant that I am using a Flatpak distribution of
Gnucash, possibly explaining the "two versions" situation. Running the
Flatpak from the command line confirms that it is detecting Finance::Quotes
v1.49 even though the command line version I am using is v1.51.
On Thu, Jun 30, 2022 at 6:43 PM Geoff <cleanoutmyshed at gmail.com> wrote:
> Hi Richard
>
> Yes, that is confusing. It is possible that this discrepancy in
> behaviour may be due to you having two instances of Perl installed - the
> later one is seen by your command line scripts and the earlier (out of
> date) one is seen by your GnuCash GUI. I make this suggestion as I
> recall seeing other GnuCash problems being reported due to this. I am
> mainly a Windows user so I can't really help you to trouble shoot.
>
> Anyway, to upgrade, you can try the "gnc-fq-update" Perl script, which
> should get the latest version (1.51) from CPAN:
> https://metacpan.org/pod/Finance::Quote
>
> Finally, I have attached a screenshot of my setup to retrieve prices for
> ASX securities.
>
> Hope this helps.
>
> Regards
>
> Geoff
> =====
>
> On 30/06/2022 6:26 pm, Richard Spinney wrote:
> > Hi Geoff,
> >
> > Thanks for this.
> >
> > I am little bit confused though, the command line perl scripts I am
> > using with the ASX as a source work fine. But moreover, they work when I
> > use *different* sources (e.g. yahoo as JSON), but then they don't work
> > in gnucash itself - I.e. the issue is there when I specifically avoid
> > the ASX as a source. Or have I missed something?
> >
> > If I do have to update that module do you have any links or similar you
> > could point me to?
> >
> > Thanks,
> >
> > R.
> >
> > On Thu, 30 June 2022, 18:21 Geoff, <cleanoutmyshed at gmail.com
> > <mailto:cleanoutmyshed at gmail.com>> wrote:
> >
> > Hi Richard
> >
> > The ASX did a major web upgrade back in 2020 that broke Version 1.49
> of
> > Finance::Quote. If you want to use the ASX as your data source for
> > Australian listed securities then you will need to upgrade that Perl
> > module.
> >
> >
> > Regards
> >
> > Geoff
> > =====
> >
> > On 30/06/2022 5:44 pm, Richard Spinney wrote:
> > > Hi All,
> > >
> > > I'm having some trouble fetching online quotes for Australian
> > stocks in
> > > Gnucash.
> > >
> > > My versions are:
> > >
> > > Gnucash Version: 4.11
> > > Build ID: Flathub 4.11
> > > Finance::Quote: 1.49
> > >
> > > running on Linux.
> > >
> > > Every other security price fetch seems to work fine. For
> > instance, this
> > > works for US stocks when input into the security editor:
> > >
> > > Symbol: AAPL
> > > Source: alphavantage
> > >
> > > as do currency quotes.
> > >
> > > However, I get the following error message:
> > >
> > > "Unable to retrieve quotes for these items ASX:VGS ..."
> > >
> > > where ASX is just my "type" categorisation", if I try any ASX
> > stock/etf
> > > (here using VGS as an example) with any permutation of
> > >
> > > Symbol: VGS, VGS.AX <http://VGS.AX>, ASX:VGS, ASX.VGS
> > > Source: Alphavantage US, Australian Stock Exchange AU,Yahoo as
> JSON
> > >
> > > For reference, I have got the underlying command line scripts
> > working and I
> > > *can* get Australian quotes using them (in addition to currency
> > and US
> > > stock quotes that *do* work in Gnucash). For instance the
> following
> > > commands all return sensible quotes
> > >
> > >
> > > perl gnc-fq-dump -v asx vgs
> > > perl gnc-fq-dump -v yahoo_json VGS.ax
> > > perl gnc-fq-dump -v australia vgs
> > >
> > > I'm unclear if this is because of something I am doing wrong with
> the
> > > details in the security editor or if there is something else I'm
> > missing.
> > >
> > > Thanks in advance,
> > >
> > > R.
> > > _______________________________________________
> > > gnucash-user mailing list
> > > gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
> > > To update your subscription preferences or to unsubscribe:
> > > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > <https://lists.gnucash.org/mailman/listinfo/gnucash-user>
> > > If you are using Nabble or Gmane, please see
> > https://wiki.gnucash.org/wiki/Mailing_Lists
> > <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.
> >
More information about the gnucash-user
mailing list