code: def __init__(self, feed, quandlFeed, instrument):
      super(MyStrategy, self).__init__(feed)
      self.setUseAdjustedValues(True)
      self.__instrument = instrument
  
      # It is VERY important to add the the extra feed to the event dispatch loop before
      # running the strategy.
      self.getDispatcher().addSubject(quandlFeed)
  
      # Subscribe to events from the Quandl feed.
      quandlFeed.getNewValuesEvent().subscribe(self.onQuandlData)
  
file_path: pyalgotrade/samples/quandl_sample.py
imports: from pyalgotrade import strategy
  from pyalgotrade import plotter
  from pyalgotrade.tools import quandl
  from pyalgotrade.feed import csvfeed
  import datetime
label_desc: Use image node_id 1 to create a new MyStrategy object from inherited base classes: strategy with example: obj = MyStrategy(feed, quandlFeed, instrument)