code: def __init__(self, fromDate=None, toDate=None):
      self.__fromDate = fromDate
      self.__toDate = toDate
  
imports: import datetime
  import pytz
  import six
  from pyalgotrade.utils import dt
  from pyalgotrade.utils import csvutils
  from pyalgotrade.barfeed import membf
  from pyalgotrade import bar
label_desc: Use image node_id 1 to create a new DateRangeFilter object from inherited base classes: BarFilter with example: obj = DateRangeFilter(fromDate, toDate)