Currency Quotes

Alun Champion list at achampion.net
Thu Nov 9 01:27:33 EST 2017


Alphavantage supports currencies, e.g.:

$ export ALPHAVANTAGE_API_KEY=XXX
$ gnc-fq-dump alphavantage GBPUSD=X
Finance::Quote fields Gnucash uses:
    symbol: GBPUSD=X             <=== required
      date: 11/09/2017           <=== recommended
  currency: USD                  <=== required
      last: 1.3139               <=\
       nav:                      <=== one of these
     price:                      <=/
  timezone:                      <=== optional

Haven't quite figured out how to get Gnucash to use this yet.

On 5 November 2017 at 21:30, Plutocrat <plutocrat at gmail.com> wrote:

> gnucash-user-request at gnucash.org wrote on Monday, 06 November, 2017 05:14
> AM:
> > Please note that while AlphaVantage does appear to offer quite a bunch
> > of quotes, it doesn't seem to support funds nor currencies.
> >
> > I hope someone will come up with one or more sites offering those info
> > so I can work on that part too.  However, my freetime is sparse and I
> > already took some time I should have put on real world work.  So more
> > coding might take more time to happen...
>
> I've been using OpenExchangeRates for Currency rates. It works pretty
> well. Needs an API id too.
>
> https://openexchangerates.org/
>
> URL format is pretty simple to return info in json.
>
> https://openexchangerates.org/api/latest.json?app_id=
> 12372uyjhkjh123hk1h2k31
>
> P.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.
>


More information about the gnucash-user mailing list