def parse_account_balance(self, response):
    result = {'info': response}
    for i in range(0, len(response)):
        balance = response[i]
        currencyId = self.safe_string(balance, 'currency')
        code = self.safe_currency_code(currencyId)
        account = self.account()
        account['total'] = self.safe_float(balance, 'balance')
        account['used'] = self.safe_float(balance, 'hold')
        account['free'] = self.safe_float(balance, 'available')
        result[code] = account
    return self.parse_balance(result)
def parse_account_balance(self, response):
    result = {'info': response}
    for i in range(0, len(response)):
        balance = response[i]
        currencyId = self.safe_string(balance, 'currency')
        code = self.safe_currency_code(currencyId)
        account = self.account()
        account['total'] = self.safe_float(balance, 'balance')
        account['used'] = self.safe_float(balance, 'hold')
        account['free'] = self.safe_float(balance, 'available')
        result[code] = account
    return self.parse_balance(result)