For MARKET order, the average price is used over the last avgPriceMins minutes.minNotional defines the minimum notional value that required for each order.The order will still be rejected with a different error because it can't pass the filter MIN_NOTIONAL validation.ġ9000 x 0.00002 = 0.38 < 10 ( MIN_NOTIONAL. In Sheets, open API Connector and create a new request ( Extensions > API Connector > Open > Create request) Select Binance from the drop-down list of applications. The easiest way to get started with the Binance API is through API Connector’s built-in integration. stepSize MIN_NOTIONAL ValidationĪlright, let us change the quantity to 0.00002, with same parameters: price=19000 Part 1: Pull Data from Binance to Sheets. You will still receive this error, because the quantity is not able to pass the stepSize size validation: ( quantity- minQty) % stepSize = 0 Then the server will reject the order, because the request can't pass this filter validation.Ĭan I place an order with the same parameters but only change the quantity to 0.000015? That is: price=19000 Last quote asset transacted quantity (as variable Y) added to execution reports. That is a LIMIT BUY order with price of $19,000, but the quantity is less than minQty in the LOT_SIZE: The current average price can be checked here: For example: User data stream. If you place an order on this BTCUSDT with parameters: price=19000 For example, the BTCUSDT has the filters as of today() "filters": [ It includes many filters that clients need to follow to place an order. In this section we show you how to browse the Binance API documentation to find. Filtersįrom the endpoint GET /api/v3/exchangeInfo, you can find all details regarding the trading symbols. An endpoint is an API URL that returns the specific data you want from Binance. Maybe this can explain why the server returns this error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |