@abc.abstractmethod
    def onBars(self, bars):
        raise NotImplementedError()
Override (**mandatory**) to get notified when new bars are available. The default implementation raises an Exception.
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/strategy/__init__.py/BaseStrategy.onBars