code: def list_current_orders(self, bet_ids=None, market_ids=None, order_projection=None, customer_order_refs=None,
                              customer_strategy_refs=None, date_range=time_range(), order_by=None, sort_dir=None,
                              from_record=None, record_count=None, session=None, lightweight=None):
          params = clean_locals(locals())
          method = '%s%s' % (self.URI, 'listCurrentOrders')
          (response, elapsed_time) = self.request(method, params, session)
          return self.process_response(response, resources.CurrentOrders, elapsed_time, lightweight)