code: def testLocal(self):
      barFeed = yahoofeed.Feed()
      instrument = "orcl"
      barFeed.addBarsFromCSV(
          instrument,
          common.get_data_file_path("orcl-2000-yahoofinance.csv"),
      )
      res = local.run(
          sma_crossover.SMACrossOver,
          barFeed,
          parameters_generator(instrument, 5, 100),
          logLevel=logging.DEBUG,
          batchSize=50,
      )
      self.assertEquals(round(res.getResult(), 2), 1295462.6)
      self.assertEquals(res.getParameters()[1], 20)
  
file_path: pyalgotrade/testcases/optimizer_test.py
imports: import sys
  import logging
  from .None import common
  from pyalgotrade.optimizer import local
  from pyalgotrade import strategy
  from pyalgotrade.barfeed import yahoofeed
  import sma_crossover
label_desc: Use image node_id 1 for calling the OptimizerTestCase obj's underlying member method code with example usage: obj.testLocal() without return types