/// <summary> /// Submit Spark.Event depth update event (thread-safe) /// </summary> /// <param name="eventItem">Spark event</param> public void SubmitEvent(Spark.Event eventItem) { LimitOrderList list = (ApiFunctions.GetMarketSide(eventItem.Flags) == MarketSide.Bid) ? Bid : Ask; lock (_lock) { list.SubmitEvent(eventItem); } }