From cdf6cd23994bfb2234b097f7bd0e328dce616287 Mon Sep 17 00:00:00 2001
From: Vlad Dumitru <vlad-dumitru@outlook.com>
Date: Thu, 11 Apr 2024 19:28:07 +0300
Subject: [PATCH] Use NOTIONAL or MIN_NOTIONAL

---
 .../Exchanges/BinanceGroup/BinanceGroupCommon.cs  | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

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<decimal>();
 				}
 
-				// 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<decimal>();
 				}