From b11cd811cff7d3a8164dc01ef558afae87fb2779 Mon Sep 17 00:00:00 2001 From: Victor Lee Date: Wed, 22 Sep 2021 11:20:27 -0700 Subject: [PATCH] Change binance UserDataStream classes back to internal - reverts change made in #646 - while that change fixed the User Data Websocket for Binance, it is very binance specific - OnUserDataWebSocketAsync() needs to be rewritten to be multi-exchange friendly --- .../Exchanges/BinanceGroup/Models/UserDataStream.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ExchangeSharp/API/Exchanges/BinanceGroup/Models/UserDataStream.cs b/src/ExchangeSharp/API/Exchanges/BinanceGroup/Models/UserDataStream.cs index 198ed5dae..da8bd5423 100644 --- a/src/ExchangeSharp/API/Exchanges/BinanceGroup/Models/UserDataStream.cs +++ b/src/ExchangeSharp/API/Exchanges/BinanceGroup/Models/UserDataStream.cs @@ -7,7 +7,7 @@ namespace ExchangeSharp.BinanceGroup { - public class ExecutionReport + internal class ExecutionReport { [JsonProperty("e")] public string EventType { get; set; } @@ -75,7 +75,7 @@ public override string ToString() } - public class Order + internal class Order { [JsonProperty("s")] public string Symbol { get; set; } @@ -90,7 +90,7 @@ public override string ToString() } } - public class ListStatus + internal class ListStatus { [JsonProperty("e")] public string EventType { get; set; } @@ -121,7 +121,7 @@ public override string ToString() } } - public class Balance + internal class Balance { [JsonProperty("a")] public string Asset { get; set; } @@ -136,7 +136,7 @@ public override string ToString() } } - public class OutboundAccount + internal class OutboundAccount { [JsonProperty("e")] public string EventType { get; set; }