code: def __createStrategy(self):
      barFeed = self.__loadBarFeed()
      return strategy_test.TestStrategy(barFeed, 1000)
  
imports: import datetime
  import math
  from distutils import version
  import pytz
  import numpy
  from .None import common
  from .None import strategy_test
  from .None import position_test
  from pyalgotrade.barfeed import ninjatraderfeed
  from pyalgotrade.barfeed import csvfeed
  from pyalgotrade.stratanalyzer import trades
  from pyalgotrade import broker
  from pyalgotrade.broker import backtesting
label_desc: Use image node_id 2 for calling the TradesAnalyzerTestCase obj's underlying member method code with example usage: obj.__createStrategy() and returns: strategy_test