From 9fd1430bbe3abb647aa4887881fb19dd710ab140 Mon Sep 17 00:00:00 2001 From: Vlad Dumitru Date: Thu, 26 Sep 2024 15:02:36 +0300 Subject: [PATCH 1/2] Add check --- src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs b/src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs index e6c21711..30606150 100644 --- a/src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs +++ b/src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs @@ -170,7 +170,7 @@ out partialOrderBookQueue { // First response from exchange will be the full order book. // Subsequent updates will be deltas, at least some exchanges have their heads on straight - if (!foundFullBook) + if (!foundFullBook || newOrderBook.IsFromSnapshot) { fullBooks[newOrderBook.MarketSymbol] = fullOrderBook = newOrderBook; } From 39f20b58aa72da95c6db5b1c647aa5a30a27ba9a Mon Sep 17 00:00:00 2001 From: Vlad Dumitru Date: Thu, 26 Sep 2024 15:03:09 +0300 Subject: [PATCH 2/2] Update web socket keys --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6eb432eb..ffe487b2 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ The following cryptocurrency exchanges are supported: | Bleutrade | x | x | | | | BtcTurk | | | R | | | BTSE | x | x | | | -| Bybit | x | x | R | Has public method for Websocket Positions | +| Bybit | x | x | R B | Has public method for Websocket Positions | | Coinbase (Advanced) | x | x | T R O U | | | Coincheck | | | R | | | Coinmate | x | x | | | @@ -57,7 +57,7 @@ The following cryptocurrency exchanges are supported: | HitBTC | x | x | R | | | Huobi | x | x | R B | | | Kraken | x | x | R | Dark order symbols not supported | -| KuCoin | x | x | T R | | +| KuCoin | x | x | T R B | | | LBank | x | x | R | | | Livecoin | x | x | | | | MEXC | x | x | | |