public override int GetHashCode()
                {
                    int hash = 1;

                    if (InstrumentKey != 0)
                    {
                        hash ^= InstrumentKey.GetHashCode();
                    }
                    if (BucketMin != 0F)
                    {
                        hash ^= BucketMin.GetHashCode();
                    }
                    if (BucketMax != 0F)
                    {
                        hash ^= BucketMax.GetHashCode();
                    }
                    if (NBuckets != 0)
                    {
                        hash ^= NBuckets.GetHashCode();
                    }
                    return(hash);
                }