MIN_NOTIONAL
is one of several values that define a minimum quantity required in an order for any given crypto. In addition to it, you will need to ensure your order quantity is equal or greater than LOT_SIZE
. Finally, your order must be within the LOT_SIZE => stepSize
value. Ex: given that stepSize = 1
, your order quantity must be a whole number.
#127
These values can be found in the "filters" array returned by the
GET /api/v3/exchangeInfo
endpoint.If you'd rather understand what I'm saying as code, here is a full ruby example that I quickly threw together:
The result of this code is a
quantity
variable that represents the absolute minimum quantity required for an order to succeed. Hope this helps!Disclaimer: I'm the author of binance-ruby.
Originally posted by @0xjmp in #10 (comment)
The text was updated successfully, but these errors were encountered: