Esempio 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);
     }
 }
Esempio 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);
			}
		}