'Place the next PriceEvent (BarEvent or TickEvent) onto the event queue.'

def stream_next(self):

    try:
        price_event = next(self.price_event_iterator)
    except StopIteration:
        self.continue_backtest = False
        return
    except (EmptyTickEvent, EmptyBarEvent):
        return
    self._store_event(price_event)
    self.events_queue.put(price_event)
