scaleVolumeBy=1e7, quotes=[ "XAG", "XAU", "TRY", "SGD", "HKD", "NZD", "CNY", "MXN", "CAD", "CHF", "AUD", "GBP", "JPY", "EUR", "USD", "KRW" ], quoteNames={ "XAU": "GOLD", "XAG": "SILVER", # "399106.SZ" : "SHENZHEN", # "000001.SS" : "SHANGHAI", # "^HSI" : "HANGSENG", # "^IXIC" : "NASDAQC", # "^N225" : "NIKKEI" }, bases=["USD", "EUR", "CNY", "JPY", "HKD"]) feedSources["btcavg"] = feedsources.BitcoinAverage(quotes=["BTC"], bases=["USD", "EUR", "CNY"]) feedSources["poloniex"] = feedsources.Poloniex(allowFailure=True, quotes=["BTS"], bases=["BTC"]) feedSources["ccedk"] = feedsources.Ccedk(allowFailure=True, quotes=["BTS"], bases=["BTC", "USD", "EUR", "CNY"]) feedSources["bittrex"] = feedsources.Bittrex(allowFailure=True, quotes=["BTS"], bases=["BTC"]) feedSources["yunbi"] = feedsources.Yunbi(allowFailure=True, quotes=["BTS", "BTC"], bases=["CNY"]) feedSources["btc38"] = feedsources.Btc38(allowFailure=True, quotes=["BTS", "BTC"],
secondary_mpas = { "PEG.FAKEUSD": { "sameas": "USD" }, } ################################################################################ ## Exchanges and settings ## ## scaleVolumeBy: a multiplicative factor for the volume ## allowFailure: bool variable that will (if not set or set to False) exit the ## script on error ################################################################################ feedSources = {} #feedSources["yahoo"] = feedsources.Yahoo() feedSources["btcavg"] = feedsources.BitcoinAverage() # feedSources["poloniex"] = feedsources.Poloniex(allowFailure=True) #feedSources["ccedk"] = feedsources.Ccedk(allowFailure=True) #feedSources["bittrex"] = feedsources.Bittrex(allowFailure=True) #feedSources["yunbi"] = feedsources.Yunbi(allowFailure=True) #feedSources["btc38"] = feedsources.Btc38(allowFailure=True) # #feedSources["btcchina"] = feedsources.BtcChina(allowFailure=True) #feedSources["okcoin"] = feedsources.Okcoin(allowFailure=True) #feedSources["huobi"] = feedsources.Huobi(allowFailure=True) # #feedSources["btcid"] = feedsources.BitcoinIndonesia(allowFailure=True) #feedSources["bter"] = feedsources.Bter(allowFailure=True) ################################################################################