This commit is contained in:
Thomas Zarebczan 2019-03-22 13:40:19 -04:00
parent e6989391ce
commit 86f33458d9
3 changed files with 8 additions and 5 deletions

View file

@ -724,7 +724,11 @@
"ZWL"
],
"CoinMarketCap": [
"USD"
"USD",
"EUR",
"INR",
"AUD",
"CAD"
],
"Foxbit": [
"BRL"

View file

@ -290,9 +290,8 @@ class Coinsecure(ExchangeBase):
class CoinMarketCap(ExchangeBase):
async def get_rates(self, ccy):
ccys = ['USD']
json = await self.get_json('api.coinmarketcap.com', '/v2/ticker/1298/?convert=BTC')
result[ccy] = Decimal(json['quotes']['USD']['price'])
json = await self.get_json('api.coinmarketcap.com', '/v2/ticker/1298/?convert=%s' % ccy)
result[ccy] = Decimal(json['data']['quotes'][ccy]['price'])
return result
class Foxbit(ExchangeBase):

View file

@ -18,7 +18,7 @@ FEE_ETA_TARGETS = [25, 10, 5, 2]
FEE_DEPTH_TARGETS = [10000000, 5000000, 2000000, 1000000, 500000, 200000, 100000]
# satoshi per kbyte
FEERATE_MAX_DYNAMIC = 1500000
FEERATE_MAX_DYNAMIC = 50000
FEERATE_WARNING_HIGH_FEE = 600000
FEERATE_FALLBACK_STATIC_FEE = 50000
FEERATE_DEFAULT_RELAY = 50000