Exemplo n.º 1
0
 /// <summary>
 /// Get queued tick data
 /// </summary>
 /// <returns></returns>
 public IEnumerable <BaseData> GetNextTicks()
 {
     lock (TickLocker)
     {
         //workaround for mono bug on ToArray.
         var copy = new List <Data.Market.Tick>();
         Ticks.ForEach(t => copy.Add(t));
         Ticks.Clear();
         return(copy);
     }
 }