URI: 
       tMerge pull request #6410 from cointradermonitor/cointradermonitor-new-brazilian-index - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit f49e766b218649a5b64a196bcc055e41291fb223
   DIR parent 89a609b1fa6a0cf1fbfd93bc24e6b21ff6b9129c
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed, 29 Jul 2020 18:01:22 +0200
       
       Merge pull request #6410 from cointradermonitor/cointradermonitor-new-brazilian-index
       
       Brazilian Bitcoin index source included.
       Diffstat:
         M electrum/currencies.json            |       3 +++
         M electrum/exchange_rate.py           |       7 +++++++
       
       2 files changed, 10 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/currencies.json b/electrum/currencies.json
       t@@ -793,6 +793,9 @@
                "ZRX",
                "ZWL"
            ],
       +    "CointraderMonitor": [
       +        "BRL"
       +    ],
            "Kraken": [
                "CAD",
                "EUR",
   DIR diff --git a/electrum/exchange_rate.py b/electrum/exchange_rate.py
       t@@ -315,6 +315,13 @@ class CoinGecko(ExchangeBase):
                             for h in history['prices']])
        
        
       +class CointraderMonitor(ExchangeBase):
       +
       +    async def get_rates(self, ccy):
       +        json = await self.get_json('cointradermonitor.com', '/api/pbb/v1/ticker')
       +        return {'BRL': Decimal(json['last'])}
       +
       +
        class itBit(ExchangeBase):
        
            async def get_rates(self, ccy):