Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIError(code=-1013): Filter failure: MIN_NOTIONAL #18

Closed
Eimuex opened this issue Feb 14, 2021 · 1 comment
Closed

APIError(code=-1013): Filter failure: MIN_NOTIONAL #18

Eimuex opened this issue Feb 14, 2021 · 1 comment

Comments

@Eimuex
Copy link

Eimuex commented Feb 14, 2021

Got new issue. It seems like this one #5 , but I don’t know how to solve it. Tried to edit active json file to exact number of decimals, but didn’t work. Is there any workaround? Thanks

File "/usr/src/app/Bot/Strategy/EntryStrategy.py", line 83, in execute
self.handle_smart_target(trigger_order_price, price)
File "/usr/src/app/Bot/Strategy/EntryStrategy.py", line 105, in handle_smart_target
self.handle_stoploss_order(trigger_order_price, current_price)
File "/usr/src/app/Bot/Strategy/EntryStrategy.py", line 183, in handle_stoploss_order
volume=self.exchange_info.adjust_quanity(vol)
File "/usr/src/app/Bot/FXConnector.py", line 151, in create_stop_order
price=FXConnector.format_number(price))
File "/usr/local/lib/python3.7/site-packages/binance/client.py", line 1149, in create_order
return self._post('order', True, data=params)
File "/usr/local/lib/python3.7/site-packages/binance/client.py", line 210, in _post
return self._request_api('post', path, signed, version, **kwargs)
File "/usr/local/lib/python3.7/site-packages/binance/client.py", line 181, in _request_api
return self._request(method, uri, signed, **kwargs)
File "/usr/local/lib/python3.7/site-packages/binance/client.py", line 176, in _request
return self._handle_response(response)
File "/usr/local/lib/python3.7/site-packages/binance/client.py", line 200, in _handle_response
raise BinanceAPIException(response)
binance.exceptions.BinanceAPIException: APIError(code=-1013): Filter failure: MIN_NOTIONAL

@iilunin
Copy link
Owner

iilunin commented Apr 30, 2021

That's information from the Binance API:

The MIN_NOTIONAL filter defines the minimum notional value allowed for an order on a symbol. An order's notional value is the price * quantity.

It means that your order is too small to proceed.

@iilunin iilunin closed this as completed Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants