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<
270
270
market . PriceStepSize = priceFilter [ "tickSize" ] . ConvertInvariant < decimal > ( ) ;
271
271
}
272
272
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 (
275
280
x => string . Equals ( x [ "filterType" ] . ToStringUpperInvariant ( ) , "MIN_NOTIONAL" )
276
- ) ;
277
- if ( minNotionalFilter != null )
281
+ ) ;
282
+ if ( notionalFilter != null )
278
283
{
279
- market . MinTradeSizeInQuoteCurrency = minNotionalFilter [
284
+ market . MinTradeSizeInQuoteCurrency = notionalFilter [
280
285
"minNotional"
281
286
] . ConvertInvariant < decimal > ( ) ;
282
287
}
You can’t perform that action at this time.
0 commit comments