Fix itbit
This commit is contained in:
parent
154cdd1697
commit
650f9b215c
|
@ -186,6 +186,7 @@ class itBit(ExchangeBase):
|
|||
ccys = ['USD', 'EUR', 'SGD']
|
||||
json = self.get_json('api.itbit.com', '/v1/markets/XBT%s/ticker' % ccy)
|
||||
result = dict.fromkeys(ccys)
|
||||
if ccy in ccys:
|
||||
result[ccy] = Decimal(json['lastPrice'])
|
||||
return result
|
||||
|
||||
|
|
Loading…
Reference in New Issue