/// <summary> /// Make a instrument profile key for hashing inside this class. /// </summary> /// <param name="ip"></param> /// <returns></returns> private int GetInstrumentProfileKey(InstrumentProfile ip) { return((ip.GetType() + ip.GetSymbol()).GetHashCode()); }