code: def __init__(self, feed, fastSMA, slowSMA):
      strategy.BacktestingStrategy.__init__(self, feed, 1000)
      ds = feed["orcl"].getPriceDataSeries()
      self.__fastSMADS = ma.SMA(ds, fastSMA)
      self.__slowSMADS = ma.SMA(ds, slowSMA)
      self.__longPos = None
      self.__shortPos = None
      self.__finalValue = None
  
imports: from .None import common
  from pyalgotrade import strategy
  from pyalgotrade.barfeed import yahoofeed
  from pyalgotrade.technical import ma
  from pyalgotrade.technical import cross
label_desc: Use image node_id 1 to create a new SMACrossOverStrategy object from inherited base classes: strategy with example: obj = SMACrossOverStrategy(feed, fastSMA, slowSMA)