public TradeEntry(object[] entry) { this.Price = decimal.Parse((string)entry[0]); this.Volume = decimal.Parse((string)entry[1]); this.Ticks = TickTime.FromUnixTimeStamp(double.Parse(entry[2].ToString())); this.buy_sell = (string)entry[3]; this.market_limit = (string)entry[4]; this.miscellaneous = (string)entry[5]; }
public SpreadEntry(object[] entry) { this.Ticks = TickTime.FromUnixTimeStamp(double.Parse(entry[0].ToString())); this.Bid = decimal.Parse((string)entry[1]); this.Ask = decimal.Parse((string)entry[2]); }
public OrderBookEntry(object[] entry) { this.Price = decimal.Parse((string)entry[0]); this.Volume = decimal.Parse((string)entry[1]); this.Ticks = TickTime.FromUnixTimeStamp(double.Parse(entry[2].ToString())); }