protected bool Equals(Quote other) { return this.Date.Equals(other.Date) && this.Open == other.Open && this.High == other.High && this.Low == other.Low && this.Close == other.Close && string.Equals(this.Symbol, other.Symbol) && this.Volume == other.Volume; }
public static DataPoints CreateFromQuote(Quote quote) { return new DataPoints { Id = Guid.NewGuid(), Date = quote.Date, Close = quote.Close, High = quote.High, Low = quote.Low, Open = quote.Open, Symbol = quote.Symbol, Volume = quote.Volume, IsProcessed = 0 }; }