diff --git a/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs b/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs index eba28d9a..79b5f4d7 100644 --- a/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs +++ b/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs @@ -270,13 +270,18 @@ protected internal override async Task< market.PriceStepSize = priceFilter["tickSize"].ConvertInvariant(); } - // MIN_NOTIONAL - JToken? minNotionalFilter = filters?.FirstOrDefault( + // NOTIONAL or MIN_NOTIONAL + JToken? notionalFilter = + filters?.FirstOrDefault( + x => string.Equals(x["filterType"].ToStringUpperInvariant(), "NOTIONAL") + ) + ?? + filters?.FirstOrDefault( x => string.Equals(x["filterType"].ToStringUpperInvariant(), "MIN_NOTIONAL") - ); - if (minNotionalFilter != null) + ); + if (notionalFilter != null) { - market.MinTradeSizeInQuoteCurrency = minNotionalFilter[ + market.MinTradeSizeInQuoteCurrency = notionalFilter[ "minNotional" ].ConvertInvariant(); }