diff --git a/src/client/spark/Orders/FillSecurity.cs b/src/client/spark/Orders/FillSecurity.cs deleted file mode 100644 index c1fee3416..000000000 --- a/src/client/spark/Orders/FillSecurity.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; - -namespace bts.api.orderman { - public readonly struct FillSecurity : IEquatable { - public FillSecurity(SecurityImmutable? sec, FillImmutable fill) { - this.sec = sec; - this.fill = fill; - } - public FillSecurity((SecurityImmutable? sec, FillImmutable fill) t) { - sec = t.sec; - fill = t.fill; - } - public static implicit operator FillSecurity(ValueTuple x) => new FillSecurity(x); - public SecurityImmutable? sec { get; } - public FillImmutable fill { get; } - - public override bool Equals(object obj) => (obj is FillSecurity os) && Equals(os); - public bool Equals(FillSecurity other) => fill.FillKey == other.fill.FillKey && sec == other.sec; - public override int GetHashCode() => (sec, fill).GetHashCode(); - - public static bool operator ==(FillSecurity left, FillSecurity right) => left.Equals(right); - public static bool operator !=(FillSecurity left, FillSecurity right) => !left.Equals(right); - - } -}