def get_cash_balance(self):
cash = False<EOL>try:<EOL><INDENT>response = self.session.get('<STR_LIT>')<EOL>json_response = response.json()<EOL>if self.session.json_success(json_response):<EOL><INDENT>self.__log('<STR_LIT>'.format(json_response['<STR_LIT>']))<EOL>cash_value = json_response['<STR_LIT>']<EOL>cash_match = re.search('<STR_LIT>', cash_value)<EOL>if cash_match:<EOL><INDENT>cash_str = cash_match.group(<NUM_LIT:1>)<EOL>cash_str = cash_str.replace('<STR_LIT:U+002C>', '<STR_LIT>')<EOL>cash = float(cash_str)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.__log('<STR_LIT>'.format(response.text))<EOL><DEDENT><DEDENT>except Exception as e:<EOL><INDENT>self.__log('<STR_LIT>'.format(str(e), response.text))<EOL>raise e<EOL><DEDENT>return cash<EOL>
Returns the account cash balance available for investing

Returns
-------
float
    The cash balance in your account.