|
@ -210,6 +210,11 @@ class CoinDesk(ExchangeBase): |
|
|
json = self.get_json('api.coindesk.com', query) |
|
|
json = self.get_json('api.coindesk.com', query) |
|
|
return json['bpi'] |
|
|
return json['bpi'] |
|
|
|
|
|
|
|
|
|
|
|
class Coinsecure(ExchangeBase): |
|
|
|
|
|
def get_rates(self, ccy): |
|
|
|
|
|
json = self.get_json('api.coinsecure.in', '/v0/noauth/lasttrade') |
|
|
|
|
|
return {'INR': Decimal(json['result'][0]['lasttrade'][0][bid][0][rate] / 100.0 )} |
|
|
|
|
|
|
|
|
class itBit(ExchangeBase): |
|
|
class itBit(ExchangeBase): |
|
|
def get_rates(self, ccy): |
|
|
def get_rates(self, ccy): |
|
|
ccys = ['USD', 'EUR', 'SGD'] |
|
|
ccys = ['USD', 'EUR', 'SGD'] |
|
|