code: def onBars(self, bars):
      pass
  
file_path: pyalgotrade/samples/compinv-1.py
imports: from __future__ import print_function
  from pyalgotrade import strategy
  from pyalgotrade.barfeed import quandlfeed
  from pyalgotrade.stratanalyzer import returns
  from pyalgotrade.stratanalyzer import sharpe
  from pyalgotrade.utils import stats
label_desc: Use image node_id 2 for calling the MyStrategy obj's underlying member method code with example usage: obj.onBars(bars) without return types