code: def __init__(self, testcase, instrument, fromDate, toDate):
      self.__testcase = testcase
      self.__count = 0
      self.__instrument = instrument
      self.__fromDate = fromDate
      self.__toDate = toDate
  
imports: import datetime
  from .None import common
  from .None import barfeed_test
  from .None import feed_test
  from pyalgotrade.utils import dt
  from pyalgotrade.barfeed import yahoofeed
  from pyalgotrade.barfeed import csvfeed
  from pyalgotrade import bar
  from pyalgotrade import marketsession
label_desc: Use image node_id 1 to create a new BarFeedEventHandler_TestFilterRange object  with example: obj = BarFeedEventHandler_TestFilterRange(testcase, instrument, fromDate, toDate)