mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Convert ID to string
This commit is contained in:
parent
9b8f90dc9f
commit
144be37a9a
|
@ -92,7 +92,7 @@ class CryptoToFiatConverter(object):
|
|||
def _load_cryptomap(self) -> None:
|
||||
try:
|
||||
coinlistings = self._coinmarketcap.listings()
|
||||
self._cryptomap = dict(map(lambda coin: (coin["symbol"], coin["id"]),
|
||||
self._cryptomap = dict(map(lambda coin: (coin["symbol"], str(coin["id"]),
|
||||
coinlistings["data"]))
|
||||
except ValueError:
|
||||
logger.error("Could not load FIAT Cryptocurrency map")
|
||||
|
|
Loading…
Reference in New Issue
Block a user