示例#1
0
 public void NewDataHandler(QuoteBook book)
 {
     if (_perfEnabled)
     {
         PerfAnalyzer.addTime(DateTime.Now.Ticks - book.ENTERED_BUFFER_TICKS, _controlID + "_FromBufferAddToCanvasHandlerFired");
     }
     level2GridBid.NewDataHandler(book);
     level2GridAsk.NewDataHandler(book);
 }
示例#2
0
 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);
 }