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)
docs: Returns a list of your current orders.
  
          :param list bet_ids: If you ask for orders, restricts the results to orders with the specified bet IDs
          :param list market_ids: One or more market ids
          :param str order_projection: Optionally restricts the results to the specified order status
          :param list customer_order_refs: Optionally restricts the results to the specified customer order references
          :param list customer_strategy_refs: Optionally restricts the results to the specified customer strategy
          references
          :param dict date_range: Optionally restricts the results to be from/to the specified date, these dates
          are contextual to the orders being returned and therefore the dates used to filter on will change
          to placed, matched, voided or settled dates depending on the orderBy
          :param str order_by: Specifies how the results will be ordered. If no value is passed in, it defaults to BY_BET
          :param str sort_dir: Specifies the direction the results will be sorted in
          :param int from_record: Specifies the first record that will be returned
          :param int record_count: Specifies how many records will be returned from the index position 'fromRecord'
          :param requests.session session: Requests session object
          :param bool lightweight: If True will return dict not a resource
  
          :rtype: resources.CurrentOrders