Exemplo n.º 1
0
 void FillRecords(FxPriceType type, QuoteEntry[] entries)
 {
     for (var index = 0; index < entries.Length; ++index)
     {
         var entry  = entries[index];
         var record = new FeedLevel2Record
         {
             Price  = RoundPrice(entry.Price),
             Volume = entry.Volume,
             Type   = type
         };
         this.records.Add(record);
     }
 }
Exemplo n.º 2
0
		void FillRecords(FxPriceType type, QuoteEntry[] entries)
		{
			for (var index = 0; index < entries.Length; ++index)
			{
				var entry = entries[index];
				var record = new FeedLevel2Record
                {
				    Price = RoundPrice(entry.Price),
				    Volume = entry.Volume,
				    Type = type
                };
				this.records.Add(record);
			}
		}