r22990 - gnucash/branches/2.4/src/engine - [22988] Support for querying Bitcoin/Litecoin prices via F::Q's MtGox module

Geert Janssens gjanssens at code.gnucash.org
Sat May 18 10:01:10 EDT 2013


Author: gjanssens
Date: 2013-05-18 10:01:10 -0400 (Sat, 18 May 2013)
New Revision: 22990
Trac: http://svn.gnucash.org/trac/changeset/22990

Modified:
   gnucash/branches/2.4/src/engine/gnc-commodity.c
Log:
[22988] Support for querying Bitcoin/Litecoin prices via F::Q's MtGox module
Author:    Sam Morris <sam at robots.org.uk>

Modified: gnucash/branches/2.4/src/engine/gnc-commodity.c
===================================================================
--- gnucash/branches/2.4/src/engine/gnc-commodity.c	2013-05-18 13:54:08 UTC (rev 22989)
+++ gnucash/branches/2.4/src/engine/gnc-commodity.c	2013-05-18 14:01:10 UTC (rev 22990)
@@ -176,6 +176,23 @@
     { FALSE, 0, 0, "Man Investments, AU", "maninv", "maninv" },
     { FALSE, 0, 0, "Morningstar, SE", "MORNINGSTAR", "morningstar" },
     { FALSE, 0, 0, "Motley Fool, US", "FOOL", "fool" },
+    { FALSE, 0, 0, "Mt.Gox, Australian Dollar", "mtgox_aud", "mtgox_aud" },
+    { FALSE, 0, 0, "Mt.Gox, Baht", "mtgox_thb", "mtgox_thb" },
+    { FALSE, 0, 0, "Mt.Gox, Canadian Dollar", "mtgox_cad", "mtgox_cad" },
+    { FALSE, 0, 0, "Mt.Gox, Danish Krone", "mtgox_dkk", "mtgox_dkk" },
+    { FALSE, 0, 0, "Mt.Gox, Euro", "mtgox_eur", "mtgox_eur" },
+    { FALSE, 0, 0, "Mt.Gox, Hong Kong Dollar", "mtgox_hkd", "mtgox_hkd" },
+    { FALSE, 0, 0, "Mt.Gox, New Zealand Dollar", "mtgox_nzd", "mtgox_nzd" },
+    { FALSE, 0, 0, "Mt.Gox, Norweigan Krone", "mtgox_nok", "mtgox_nok" },
+    { FALSE, 0, 0, "Mt.Gox, Pound Sterling", "mtgox_gbp", "mtgox_gbp" },
+    { FALSE, 0, 0, "Mt.Gox, Russian Ruble", "mtgox_rub", "mtgox_rub" },
+    { FALSE, 0, 0, "Mt.Gox, Singapore Dollar", "mtgox_sgd", "mtgox_sgd" },
+    { FALSE, 0, 0, "Mt.Gox, Swedish Kronor", "mtgox_sek", "mtgox_sek" },
+    { FALSE, 0, 0, "Mt.Gox, Swiss Franc", "mtgox_chf", "mtgox_chf" },
+    { FALSE, 0, 0, "Mt.Gox, US Dollar", "mtgox_usd", "mtgox_usd" },
+    { FALSE, 0, 0, "Mt.Gox, Yen", "mtgox_jpy", "mtgox_jpy" },
+    { FALSE, 0, 0, "Mt.Gox, Yuan Renminbi", "mtgox_cny", "mtgox_cny" },
+    { FALSE, 0, 0, "Mt.Gox, Zloty", "mtgox_pln", "mtgox_pln" },
     { FALSE, 0, 0, "New Zealand stock eXchange, NZ", "NZX", "nzx" },
     { FALSE, 0, 0, "Paris Stock Exchange/Boursorama, FR", "BOURSO", "bourso" },
     { FALSE, 0, 0, "Paris Stock Exchange/LeRevenu, FR", "LEREVENU", "lerevenu" },
@@ -206,6 +223,23 @@
 {
     { FALSE, 0, 0, "Asia (Yahoo, ...)", "ASIA", "asia" },
     { FALSE, 0, 0, "Australia (ASX, Yahoo, ...)", "AUSTRALIA", "australia" },
+    { FALSE, 0, 0, "Bitcoin, Australian Dollar", "bitcoin_aud", "bitcoin_aud" },
+    { FALSE, 0, 0, "Bitcoin, Baht", "bitcoin_thb", "bitcoin_thb" },
+    { FALSE, 0, 0, "Bitcoin, Canadian Dollar", "bitcoin_cad", "bitcoin_cad" },
+    { FALSE, 0, 0, "Bitcoin, Danish Krone", "bitcoin_dkk", "bitcoin_dkk" },
+    { FALSE, 0, 0, "Bitcoin, Euro", "bitcoin_eur", "bitcoin_eur" },
+    { FALSE, 0, 0, "Bitcoin, Hong Kong Dollar", "bitcoin_hkd", "bitcoin_hkd" },
+    { FALSE, 0, 0, "Bitcoin, New Zealand Dollar", "bitcoin_nzd", "bitcoin_nzd" },
+    { FALSE, 0, 0, "Bitcoin, Norweigan Krone", "bitcoin_nok", "bitcoin_nok" },
+    { FALSE, 0, 0, "Bitcoin, Pound Sterling", "bitcoin_gbp", "bitcoin_gbp" },
+    { FALSE, 0, 0, "Bitcoin, Russian Ruble", "bitcoin_rub", "bitcoin_rub" },
+    { FALSE, 0, 0, "Bitcoin, Singapore Dollar", "bitcoin_sgd", "bitcoin_sgd" },
+    { FALSE, 0, 0, "Bitcoin, Swedish Kronor", "bitcoin_sek", "bitcoin_sek" },
+    { FALSE, 0, 0, "Bitcoin, Swiss Franc", "bitcoin_chf", "bitcoin_chf" },
+    { FALSE, 0, 0, "Bitcoin, US Dollar", "bitcoin_usd", "bitcoin_usd" },
+    { FALSE, 0, 0, "Bitcoin, Yen", "bitcoin_jpy", "bitcoin_jpy" },
+    { FALSE, 0, 0, "Bitcoin, Yuan Renminbi", "bitcoin_cny", "bitcoin_cny" },
+    { FALSE, 0, 0, "Bitcoin, Zloty", "bitcoin_pln", "bitcoin_pln" },
     { FALSE, 0, 0, "Brasil (Yahoo, ...)", "BRASIL", "brasil" },
     { FALSE, 0, 0, "Canada (Yahoo, ...)", "CANADA", "canada" },
     { FALSE, 0, 0, "Canada Mutual (Fund Library, ...)", "CANADAMUTUAL", "canadamutual" },



More information about the gnucash-changes mailing list