diff --git a/src/ExchangeSharp/API/Exchanges/Gemini/ExchangeGeminiAPI.cs b/src/ExchangeSharp/API/Exchanges/Gemini/ExchangeGeminiAPI.cs index d8ea7c83..b814caa8 100644 --- a/src/ExchangeSharp/API/Exchanges/Gemini/ExchangeGeminiAPI.cs +++ b/src/ExchangeSharp/API/Exchanges/Gemini/ExchangeGeminiAPI.cs @@ -642,10 +642,8 @@ params string[] marketSymbols decimal amount = change[2].ConvertInvariant(); SortedDictionary dict = (sell ? book.Asks : book.Bids); - if (amount == 0m) - dict.Remove(price); - else - dict[price] = new ExchangeOrderPrice { Amount = amount, Price = price }; + + dict[price] = new ExchangeOrderPrice { Amount = amount, Price = price }; } }