On Sun, 12 Nov 2017 17:37:50 +0100
Erik Colson <e...@ecocode.net> wrote:

> listreader <susel...@cableone.net> writes:
> 
> > I am using GnuCash 2.6.16 and Finance-Quote 1.45 (linux).  US stock
> > quotes work fine for me but I am not getting how to get precious
> > metals quotes to work through the gnucash frontend.  I think I've
> > tried every possible combo of settings in gnucash.  Is this
> > available yet?  
> 
> please check F::Q version 1.47 (untested).

Hello Erik.

1.47 - No errors but returns the wrong price data, i.e. for gold:

:~> gnc-fq-dump alphavantage XAU

Finance::Quote fields Gnucash uses:
    symbol: XAU                  <=== required
      date: 11/10/2017           <=== recommended
  currency: USD                  <=== required
      last: 6.5100               <=\       
       nav:                      <=== one of these
     price:                      <=/        
  timezone:                      <=== optional

I'm not sure where it's getting the "6.51" from because the actual data
is:

"Realtime Currency Exchange Rate": 
        "1. From_Currency Code": "XAU",
        "2. From_Currency Name": "Gold Ounce",
        "3. To_Currency Code": "USD",
        "4. To_Currency Name": "United States Dollar",
        "5. Exchange Rate": "1275.85195014",
        "6. Last Refreshed": "2017-11-12 20:31:17",
        "7. Time Zone": "UTC"

Likewise, XAG (silver) returns 0.0200 instead of the expected
16.89899689.

On another note: on my system (openSUSE Leap 42.3) AlphaVantage.pm got
installed with eXecute permissions while all the other .pm have only
Read permissions.  Was that intended?

Thanks.

Ralph
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
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 via email to