gnucash maint: Update the list of Finance::Quote methods

Frank H. Ellenberger fell at code.gnucash.org
Tue Feb 16 21:34:22 EST 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/05da881f (commit)
	from  https://github.com/Gnucash/gnucash/commit/029a6653 (commit)



commit 05da881fa821929bb550916e963c22e4aaa65aa2
Author: fell <f.ellenberger at online.de>
Date:   Wed Feb 17 03:36:11 2016 +0100

    Update the list of Finance::Quote methods
    
    It is now be close to F::Q 1.38.
    A few methods remain still in unknown:
    Most are aliases.
    Bitcoin* would spam the list,
    MtGox* will be dropped.

diff --git a/src/engine/gnc-commodity.c b/src/engine/gnc-commodity.c
index 5839667..9e26004 100644
--- a/src/engine/gnc-commodity.c
+++ b/src/engine/gnc-commodity.c
@@ -160,31 +160,39 @@ static gnc_quote_source currency_quote_source =
 static gnc_quote_source single_quote_sources[] =
 {
     { FALSE, 0, 0, "Amsterdam Euronext eXchange, NL", "AEX", "aex" },
-    { FALSE, 0, 0, "AEX Futures (now in AEX)", "AEX_FUTURES", "aex_futures" },
-    { FALSE, 0, 0, "AEX Options (now in AEX)", "AEX_OPTIONS", "aex_options" },
     { FALSE, 0, 0, "American International Assurance, HK", "AIAHK", "aiahk" },
     { FALSE, 0, 0, "Association  of  Mutual  Funds  in  India", "AMFIINDIA", "amfiindia" },
     { FALSE, 0, 0, "Athens Stock Exchange, GR", "ASEGR", "asegr" },
     { FALSE, 0, 0, "Australian Stock Exchange, AU", "ASX", "asx" },
+    { FALSE, 0, 0, "BAMOSZ funds, HU", "BAMOSZ", "bamosz" },
     { FALSE, 0, 0, "BMO NesbittBurns, CA", "BMONESBITTBURNS", "bmonesbittburns" },
-    { FALSE, 0, 0, "BUX/Magyar Tökepiac, HU", "BUX", "bux" },
+    { FALSE, 0, 0, "Bucharest Stock Exchange, RO", "BSERO", "bsero" },
+    { FALSE, 0, 0, "Budapest Stock Exchange (BET), ex-BUX, HU", "BSE", "bse" },
+    { FALSE, 0, 0, "Citywire Funds, GB", "citywire", "citywire" },
+    { FALSE, 0, 0, "Colombo Stock Exchange, LK", "CSE", "cse" },
     { FALSE, 0, 0, "Cominvest, ex-Adig, DE", "COMINVEST", "cominvest" },
     { FALSE, 0, 0, "Deka Investments, DE", "DEKA", "deka" },
     { FALSE, 0, 0, "DWS, DE", "DWS", "dwsfunds" },
+	{ FALSE, 0, 0, "Equinox Unit Trusts, ZA", "ZA_unittrusts", "za_unittrusts" },
     { FALSE, 0, 0, "Fidelity Direct", "FIDELITY_DIRECT", "fidelity_direct" },
     { FALSE, 0, 0, "Finance Canada", "FINANCECANADA", "financecanada" },
+    { FALSE, 0, 0, "Financial Times Funds service, GB", "FTFUNDS", "ftfunds" },
     { FALSE, 0, 0, "Finanzpartner, DE", "FINANZPARTNER", "finanzpartner" },
     { FALSE, 0, 0, "First Trust Portfolios, US", "FTPORTFOLIOS_DIRECT", "ftportfolios_direct" },
     { FALSE, 0, 0, "Fund Library, CA", "FUNDLIBRARY", "fundlibrary" },
     { FALSE, 0, 0, "GoldMoney spot rates, JE", "GOLDMONEY", "goldmoney" },
     { FALSE, 0, 0, "HElsinki stock eXchange, FI", "HEX", "hex" },
     { FALSE, 0, 0, "Man Investments, AU", "maninv", "maninv" },
+    { FALSE, 0, 0, "Morningstar, GB", "MSTARUK", "mstaruk" },
+    { FALSE, 0, 0, "Morningstar, JP", "MORNINGSTARJP", "morningstarjp" },
     { FALSE, 0, 0, "Morningstar, SE", "MORNINGSTAR", "morningstar" },
     { FALSE, 0, 0, "Motley Fool, US", "FOOL", "fool" },
     { 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" },
     { FALSE, 0, 0, "Platinum Asset Management, AU", "PLATINUM", "platinum" },
+    { FALSE, 0, 0, "SIX funds, CH", "SIXFUNDS", "sixfunds" },
+    { FALSE, 0, 0, "SIX shares, CH", "SIXSHARES", "sixshares" },
     { FALSE, 0, 0, "Skandinaviska Enskilda Banken, SE", "SEB_FUNDS", "seb_funds" },
     { FALSE, 0, 0, "Sharenet, ZA", "ZA", "za" },
     { FALSE, 0, 0, "StockHouse Canada", "STOCKHOUSE_FUND", "stockhousecanada_fund" },
@@ -193,7 +201,8 @@ static gnc_quote_source single_quote_sources[] =
     { FALSE, 0, 0, "TIAA-CREF, US", "TIAACREF", "tiaacref" },
     { FALSE, 0, 0, "Toronto Stock eXchange, CA", "TSX", "tsx" },
     { FALSE, 0, 0, "T. Rowe Price, US", "TRPRICE_DIRECT", "troweprice_direct" },
-    { FALSE, 0, 0, "Trustnet, GB", "TRUSTNET", "trustnet" },
+    { FALSE, 0, 0, "Trustnet via tnetuk.pm, GB", "TNETUK", "tnetuk" },
+    { FALSE, 0, 0, "Trustnet via trustnet.pm, GB", "TRUSTNET", "trustnet" },
     { FALSE, 0, 0, "Union Investment, DE", "UNIONFUNDS", "unionfunds" },
     { FALSE, 0, 0, "US Treasury Bonds", "usfedbonds", "usfedbonds" },
     { FALSE, 0, 0, "US Govt. Thrift Savings Plan", "TSP", "tsp" },
@@ -205,7 +214,7 @@ static gnc_quote_source single_quote_sources[] =
     { FALSE, 0, 0, "Yahoo Brasil", "YAHOO_BRASIL", "yahoo_brasil" },
     { FALSE, 0, 0, "Yahoo Europe", "YAHOO_EUROPE", "yahoo_europe" },
     { FALSE, 0, 0, "Yahoo New Zealand", "YAHOO_NZ", "yahoo_nz" },
-    { FALSE, 0, 0, "Zuerich Investments (outdated)", "ZIFUNDS", "zifunds" }, /* Removed from F::Q 1.11. */
+    { FALSE, 0, 0, "Yahoo as JSON", "YAHOO_JSON", "yahoo_json" },
 };
 static gnc_quote_source multiple_quote_sources[] =
 {
@@ -217,6 +226,7 @@ static gnc_quote_source multiple_quote_sources[] =
     { FALSE, 0, 0, "Dutch (AEX, ...)", "DUTCH", "dutch" },
     { FALSE, 0, 0, "Europe (Yahoo, ...)", "EUROPE", "europe" },
     { FALSE, 0, 0, "Greece (ASE, ...)", "GREECE", "greece" },
+    { FALSE, 0, 0, "Hungary (Bamosz, BET)", "HU", "hu" },
     { FALSE, 0, 0, "India Mutual (AMFI, ...)", "INDIAMUTUAL", "indiamutual" },
     { FALSE, 0, 0, "Fidelity (Fidelity, ...)", "FIDELITY", "fidelity" },
     { FALSE, 0, 0, "Finland (HEX, ...)", "FINLAND", "finland" },
@@ -226,9 +236,11 @@ static gnc_quote_source multiple_quote_sources[] =
     { FALSE, 0, 0, "New Zealand (Yahoo, ...)", "NZ", "nz" },
     { FALSE, 0, 0, "NYSE (Yahoo, ...)", "NYSE", "nyse" },
     /*    { FALSE, 0, 0, "South Africa (Sharenet, ...)", "ZA", "za" }, */
+    { FALSE, 0, 0, "Romania (BSE-RO, ...)", "romania", "romania" },
     { FALSE, 0, 0, "T. Rowe Price", "TRPRICE", "troweprice" },
-    { FALSE, 0, 0, "U.K. Unit Trusts", "UKUNITTRUSTS", "uk_unit_trusts" },
-    { FALSE, 0, 0, "USA (Yahoo, Fool ...)", "USA", "usa" },
+    { FALSE, 0, 0, "U.K. Funds (citywire, FTfunds, MStar, tnetuk, ...)", "ukfunds", "ukfunds" },
+    { FALSE, 0, 0, "U.K. Unit Trusts (trustnet, ...)", "UKUNITTRUSTS", "uk_unit_trusts" },
+    { FALSE, 0, 0, "USA (Yahoo, Fool, ...)", "USA", "usa" },
 };
 
 static const int num_single_quote_sources =



Summary of changes:
 src/engine/gnc-commodity.c | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)



More information about the gnucash-changes mailing list