'Refreshes cash and BTC balance.'

def refreshAccountBalance(self):

    self.__stop = True
    common.logger.info('Retrieving    account    balance.')
    balance = self.__httpClient.getAccountBalance()
    self.__cash = round(balance.getUSDAvailable(), 2)
    common.logger.info(('%s    USD' % self.__cash))
    btc = balance.getBTCAvailable()
    if btc:
        self.__shares = {common.btc_symbol: btc}
    else:
        self.__shares = {}
    common.logger.info(('%s    BTC' % btc))
    self.__stop = False
