Exemplo n.º 1
0
 protected void FireOrderBookUpdate()
 {
     if (DateTime.Now.Subtract(m_lastUpdateTime).Milliseconds >= m_minimumDelayMilliseconds)
     {
         UpdateOrderBookEvent?.Invoke(this, new OrderBookUpdateArgs(m_orderBook.GetRows()));
         m_lastUpdateTime = DateTime.Now;
     }
 }
Exemplo n.º 2
0
 private static void Exchanges_UpdateOrderBookEvent(object sender, OrderBookUpdateArgs e)
 {
     UpdateOrderBookEvent?.Invoke(sender, e);
 }