Hi,
At 15:00 PM, 3rd May, 2023, I was trying to place a binance SPOT Limit Buy order
on Symbol ETHBUSD
.
All price and quantity has been normalized according to the Price_Filter
and Lot_Size Filter
.
SymbolInfo is as below
:
[{Symbol:ETHBUSD Status:TRADING BaseAsset:ETH BaseAssetPrecision:8 QuoteAsset:BUSD QuotePrecision:8 QuoteAssetPrecision:8 BaseCommissionPrecision:8 QuoteCommissionPrecision:8 OrderTypes:[LIMIT LIMIT_MAKER MARKET STOP_LOSS_LIMIT TAKE_PROFIT_LIMIT] IcebergAllowed:true OcoAllowed:true QuoteOrderQtyMarketAllowed:true IsSpotTradingAllowed:true IsMarginTradingAllowed:true
Filters:[map[filterType:PRICE_FILTER maxPrice:100000.00000000 minPrice:0.01000000 tickSize:0.01000000]
map[filterType:LOT_SIZE maxQty:90000.00000000 minQty:0.00010000 stepSize:0.00010000]
map[filterType:ICEBERG_PARTS limit:10]
map[filterType:MARKET_LOT_SIZE maxQty:1229.02446326 minQty:0.00000000 stepSize:0.00000000] map[filterType:TRAILING_DELTA maxTrailingAboveDelta:2000 maxTrailingBelowDelta:2000 minTrailingAboveDelta:10 minTrailingBelowDelta:10]
map[askMultiplierDown:0.2 askMultiplierUp:5 avgPriceMins:5 bidMultiplierDown:0.2 bidMultiplierUp:5 filterType:PERCENT_PRICE_BY_SIDE]
map[applyMaxToMarket:false applyMinToMarket:true avgPriceMins:5 filterType:NOTIONAL maxNotional:9000000.00000000 minNotional:10.00000000]
map[filterType:MAX_NUM_ORDERS maxNumOrders:200]
map[filterType:MAX_NUM_ALGO_ORDERS maxNumAlgoOrders:5]]
Permissions:[SPOT MARGIN TRD_GRP_004 TRD_GRP_005 TRD_GRP_006]}]
Final parameters is
params = {
"symbol": "ETHBUSD",
"side": "BUY",
"type": "LIMIT",
"timeInForce": "GTC",
"quantity": 7.1593,
"price": 1851.79,
}
minNotional < 7.1593 * 1851.79 = 13,257.520147 < maxNotional
, where maxNotional = 9000000
and minNotional = 10
, it satisfies
with the requirements of Notional Filter
.
but still got error from binance, err log as below:
normalizedPrice=1851.79, normalizedQty=7.1593, err=<APIError> code=-1013, msg=Filter failure: NOTIONAL
I was thinking all the filters including Price_Filter, Lot_Size Filter and Notional_Filter is all satisfied, why still got the error above. Is is because my balance is insufficient? No, I have checked my balance at that time, the BUSD balance
is around 33,000
, but 7.1593 * 1851.79 = 13,257.520147 < 33,000
.
But today at 15:44 PM, 4th May, 2023, after the binance testnet spot system maintenance, the same parameters, it works.
I have no idea why, could you please provide some insights from other aspect?
Failed log screenshot:
check it in the attached jpeg file
Successful order with same parameter:
check it in the attached jpeg file
Successful order with even larger quantity:
check it in the attached jpeg
file