From d826cff9d7a28bf33ffc5091c54096dcccb35a0a Mon Sep 17 00:00:00 2001 From: John Colvin Date: Thu, 2 Feb 2023 00:09:00 -0500 Subject: [PATCH] chore: Remove unused code --- src/client/spark/Orders/FillSecurity.cs | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/client/spark/Orders/FillSecurity.cs 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); - - } -}