Hi, today I have a “price filter” error, this is my code I used this yesterday and work good, any ideas what happened ?
symbol = ‘BNBUSDT’
qty = 0.2
order = client.order_oco_buy(
symbol = symbol,
quantity = qty,
price = round(price*0.994,rnd),
stopPrice = round(price*1.0029,rnd),
stopLimitPrice = round(price*1.003,rnd),
stopLimitTimeInForce = 'GTC')
ishuen
August 27, 2021, 1:35am
2
Hi. Could you provide more info about it? For example, when did you call this API, what error message did you see, and what exactly the value of price after rounding.
FYI, there were some operations regarding tickSize yesterday ( https://www.binance.com/en/support/announcement/6925d618ab6b47e2936cc4614eaad64b and https://www.binance.com/en/support/announcement/d2cd00c391814709bafec51dba8e88b7 ). This might be the reason of error. Please check if the request you sent fits the trading rule by calling GET /api/v3/exchangeInfo
endpoint ( https://binance-docs.github.io/apidocs/spot/en/#exchange-information ).