mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix coinmarketcap ticker
This commit is contained in:
parent
57fc9df5f3
commit
3246c60472
|
@ -196,7 +196,7 @@ class CryptoToFiatConverter(object):
|
|||
self._coinmarketcap.ticker(
|
||||
currency=self._cryptomap[crypto_symbol],
|
||||
convert=fiat_symbol
|
||||
)[0]['price_' + fiat_symbol.lower()]
|
||||
)['data']['quotes'][fiat_symbol.upper()]['price']
|
||||
)
|
||||
except BaseException as ex:
|
||||
logger.error("Error in _find_price: %s", ex)
|
||||
|
|
Loading…
Reference in New Issue
Block a user