Can gnucash add Virtual currency?

Alun Champion list at achampion.net
Thu Nov 9 01:23:31 EST 2017


I've setup digital currencies as regular commodities and haven't come
across any particular issues for my use.
Downloading exchange rates works, just set the Symbol to 'BTCUSD=X' and
source `alphavantage' (with APIKEY), e.g.:

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

I work in USD so don't know if it an issue, if you use another currency,
e.g. BTCGBP=X it still reports the currency as USD but does return the
right exchange rate:

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

On 8 November 2017 at 11:14, Kurt Padilla <kurt.padilla at gmail.com> wrote:

> Here's how someone did it:
> https://bitcointalk.org/index.php?topic=29884.msg549693#msg549693
>
> On Wed, Nov 8, 2017, 06:25 David T. via gnucash-user <
> gnucash-user at gnucash.org> wrote:
>
> > Technically, adding bitcoin as a security isn't the same as adding it as
> a
> > currency,  which the OP requested.
> > Gnucash bases its currencies list on the ISO standard, which does not
> > include bitcoin. That said, treating it like any other commodity should
> > work, except that the ongoing valuation will require manual entry.
> > David
> >
> >
> >   On Wed, Nov 8, 2017 at 13:55, 陳 志昌<jctchen at outlook.com> wrote:   It
> can
> > be added in Security Editor as a user-defined currency.
> >
> > I know it's doable, but I never try this.
> >
> > Thank you, jctchen
> >
> > -----Original Message-----
> > From: gnucash-user [mailto:gnucash-user-bounces+jctchen=
> > outlook.com at gnucash.org] On Behalf Of 林威儒
> > Sent: Wednesday, November 8, 2017 12:37 AM
> > To: gnucash-user at gnucash.org
> > Subject: Can gnucash add Virtual currency?
> >
> > I need to use virtual currency in gnucash,like Bitcoin how can I add new
> > currency?
> > Thank you.
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org
> >
> > https://eur01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Flists.gnucash.org%2Fmailman%2Flistinfo%
> 2Fgnucash-user&data=02%7C01%7Cjctchen%40outlook.com%
> 7Cedc5323fb4494e1031e108d52684f73b%7C84df9e7fe9f640afb435aaaaaaaa
> aaaa%7C1%7C0%7C636457274877633125&sdata=7Xiz8sH%2FHtwn0xeMb%
> 2BdSSu2bbsbHyqVtqeULk554blQ%3D&reserved=0
> > -----
> > 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 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.
> > _______________________________________________
> > 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.
>
> --
>
> Sent from the Google Inbox Android app. GnuPG encryption available upon
> request.
> _______________________________________________
> 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