binance-connector-python
binance-connector-python copied to clipboard
Spot client new_order throws error with MIN_NOTIONAL
Issue subject
When a new_order is placed with quantity (not with quoteOrderQty), it is throwing ClientError with 'Filter failure: MIN_NOTIONAL'
Expected behaviour
It should not check MIN_NOTIONAL unless quoteOrderQty is specified.
Actual behaviour
It is failing due to MIN_NOTIONAL. binance.error.ClientError: (400, -1013, 'Filter failure: MIN_NOTIONAL',
Steps to reproduce
spot_client = Spot(apikey, apisec) spot_client.new_order( symbol=symbol, side=side, type="MARKET", quantity=str(0.006), )
Environment
Provide any relevant information about your setup, such as:
- Version of binance-connector-python 1.15.0
- Python version 3.7
- MAC
what is the symbol?
MIN_NOTIONAL error is not a library issue. The notional value of the order is below the requirement, check MIN_NOTIONAL
in the API document for more details.