code: def testReset(self):
      instrument = "spy"
      barFeed = ninjatraderfeed.Feed(ninjatraderfeed.Frequency.MINUTE)
      barFeed.addBarsFromCSV(
          instrument,
          common.get_data_file_path("nt-spy-minute-2011.csv"),
      )
  
      barFeed.loadAll()
      instruments = barFeed.getRegisteredInstruments()
      ds = barFeed[instrument]
  
      barFeed.reset()
      barFeed.loadAll()
      reloadedDs = barFeed[instrument]
  
      self.assertEqual(len(reloadedDs), len(ds))
      self.assertNotEqual(reloadedDs, ds)
      self.assertEqual(instruments, barFeed.getRegisteredInstruments())
      for i in range(len(ds)):
          self.assertEqual(
              ds[i].getDateTime(), reloadedDs[i].getDateTime()
          )
          self.assertEqual(ds[i].getClose(), reloadedDs[i].getClose())
  
file_path: pyalgotrade/testcases/ninjatraderfeed_test.py
imports: import datetime
  from .None import common
  from .None import barfeed_test
  from .None import feed_test
  from pyalgotrade.barfeed import ninjatraderfeed
  from pyalgotrade import marketsession
  from pyalgotrade import bar
  from pyalgotrade.utils import dt
label_desc: Use image node_id 10 for calling the NinjaTraderTestCase obj's underlying member method code with example usage: obj.testReset() without return types