class_docstr: A Bitstamp live broker.
  
  :param clientId: Client id.
  :type clientId: string.
  :param key: API key.
  :type key: string.
  :param secret: API secret.
  :type secret: string.
  
  
  .. note::
      * Only limit orders are supported.
      * Orders are automatically set as **goodTillCanceled=True** and  **allOrNone=False**.
      * BUY_TO_COVER orders are mapped to BUY orders.
      * SELL_SHORT orders are mapped to SELL orders.
      * API access permissions should include:
  
        * Account balance
        * Open orders
        * Buy limit order
        * User transactions
        * Cancel order
        * Sell limit order
docstr: Refreshes cash and BTC balance.
docstr_tok: ["Refreshes","cash","and","BTC","balance","."]
code: def refreshAccountBalance(self):
      """Refreshes cash and BTC balance."""
  
      self.__stop = True  # Stop running in case of errors.
      common.logger.info("Retrieving account balance.")
      balance = self.__httpClient.getAccountBalance()
  
      # Cash
      self.__cash = round(balance.getUSDAvailable(), 2)
      common.logger.info("%s USD" % (self.__cash))
      # BTC
      btc = balance.getBTCAvailable()
      if btc:
          self.__shares = {common.btc_symbol: btc}
      else:
          self.__shares = {}
      common.logger.info("%s BTC" % (btc))
  
      self.__stop = False
  
imports: import threading
  import time
  from six.moves import queue
  from pyalgotrade import broker
  from pyalgotrade.bitstamp import httpclient
  from pyalgotrade.bitstamp import common
label_desc: Use image node_id 5 for calling the LiveBroker obj's underlying member method code with example usage: obj.refreshAccountBalance() without return types