File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
src/ExchangeSharp/API/Exchanges/BinanceGroup Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -270,13 +270,18 @@ protected internal override async Task<
270270 market . PriceStepSize = priceFilter [ "tickSize" ] . ConvertInvariant < decimal > ( ) ;
271271 }
272272
273- // MIN_NOTIONAL
274- JToken ? minNotionalFilter = filters ? . FirstOrDefault (
273+ // NOTIONAL or MIN_NOTIONAL
274+ JToken ? notionalFilter =
275+ filters ? . FirstOrDefault (
276+ x => string . Equals ( x [ "filterType" ] . ToStringUpperInvariant ( ) , "NOTIONAL" )
277+ )
278+ ??
279+ filters ? . FirstOrDefault (
275280 x => string . Equals ( x [ "filterType" ] . ToStringUpperInvariant ( ) , "MIN_NOTIONAL" )
276- ) ;
277- if ( minNotionalFilter != null )
281+ ) ;
282+ if ( notionalFilter != null )
278283 {
279- market . MinTradeSizeInQuoteCurrency = minNotionalFilter [
284+ market . MinTradeSizeInQuoteCurrency = notionalFilter [
280285 "minNotional"
281286 ] . ConvertInvariant < decimal > ( ) ;
282287 }
You can’t perform that action at this time.
0 commit comments