* @param positionBarrier
* @return
*/
private EventProcessor createPortfolioPositionProcessor(RingBuffer<MarketEvent> ringBuffer,
SequenceBarrier positionBarrier) {
PortfolioPositionEventHandler portfolioPositionHandler = new PortfolioPositionEventHandler();
EventProcessor portfolioPositionProcessor = new BatchEventProcessor<MarketEvent>(ringBuffer, positionBarrier,
portfolioPositionHandler);
eventProcessors[2] = portfolioPositionProcessor;
return portfolioPositionProcessor;
}