code: def list_currency_rates(self, from_currency=None, session=None, lightweight=None):
          
          params = clean_locals(locals())
          method = '%s%s' % (self.URI, 'listCurrencyRates')
          (response, elapsed_time) = self.request(method, params, session)
          return self.process_response(response, resources.CurrencyRate, elapsed_time, lightweight)
docs: Returns a list of currency rates based on given currency
  
          :param str from_currency: The currency from which the rates are computed
          :param requests.session session: Requests session object
          :param bool lightweight: If True will return dict not a resource
  
          :rtype: list[resources.CurrencyRate]