public void NewDataHandler(QuoteBook book) { if (_perfEnabled) { PerfAnalyzer.addTime(DateTime.Now.Ticks - book.ENTERED_BUFFER_TICKS, _controlID + "_FromBufferAddToCanvasHandlerFired"); } level2GridBid.NewDataHandler(book); level2GridAsk.NewDataHandler(book); }
public void NewDataHandler(TradeInfo trade) { PerfAnalyzer.addTime(DateTime.Now.Ticks - trade.TEST_TIMESTAMP_TICKS, _performanceLabel + "_TradeArriveDelay"); PerfAnalyzer.addTime(DateTime.Now.Ticks - trade.ENTERED_BUFFER_TICKS, _performanceLabel + "_FromBufferAddToTASHandlerFired"); AddTrade(trade); }