public override int GetHashCode() { int hash = 1; if (Ric.Length != 0) { hash ^= Ric.GetHashCode(); } hash ^= candles_.GetHashCode(); return(hash); }
/// <summary> /// Returns a string that represents the current object. /// </summary> /// <returns>A string that represents the current object.</returns> public override string ToString() { var str = string.Empty; if (!Bloomberg.IsEmpty()) { str += " Bloom {0}".Put(Bloomberg); } if (!Cusip.IsEmpty()) { str += " CUSIP {0}".Put(Cusip); } if (!IQFeed.IsEmpty()) { str += " IQFeed {0}".Put(IQFeed); } if (!Isin.IsEmpty()) { str += " ISIN {0}".Put(Isin); } if (!Ric.IsEmpty()) { str += " RIC {0}".Put(Ric); } if (!Sedol.IsEmpty()) { str += " SEDOL {0}".Put(Sedol); } if (InteractiveBrokers != null) { str += " InteractiveBrokers {0}".Put(InteractiveBrokers); } if (!Plaza.IsEmpty()) { str += " Plaza {0}".Put(Plaza); } return(str); }