diff --git a/src/client/spark/Orders/OrderSecurity.cs b/src/client/spark/Orders/OrderSecurity.cs index a0c356b63..391942e86 100644 --- a/src/client/spark/Orders/OrderSecurity.cs +++ b/src/client/spark/Orders/OrderSecurity.cs @@ -83,6 +83,7 @@ namespace bts.api.orderman { public bool Equals(OrderSecurityAlgo other) => order == other.order && + piq == other.piq && security == other.security && algo == other.algo; @@ -92,6 +93,7 @@ namespace bts.api.orderman { public override int GetHashCode() => EqualityComparer.auto_phase( order.Key.GetHashCode(), + piq?.GetHashCode() ?? 0, security.HasValue ? security.Value.Id.GetHashCode() : 0, algo.GetHashCode());