edeng23 / binance-trade-bot

Automated cryptocurrency trading bot
GNU General Public License v3.0
7.88k stars 2.19k forks source link

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

Closed allaf2 closed 3 years ago

allaf2 commented 3 years ago

first stuck in:

binance_trader_api | [2021-04-15 10:19:11 +0000] [1] [INFO] Starting gunicorn 20.0.4 binance_trader_api | [2021-04-15 10:19:11 +0000] [1] [INFO] Listening at: http://0.0.0.0:5123 (1) binance_trader_api | [2021-04-15 10:19:11 +0000] [1] [INFO] Using worker: eventlet binance_trader_api | [2021-04-15 10:19:11 +0000] [8] [INFO] Booting worker with pid: 8 binance_trader | 2021-04-15 10:19:15,412 - crypto_trading_logger - INFO - Starting binance_trader | 2021-04-15 10:19:16,119 - crypto_trading_logger - INFO - Chosen strategy: default binance_trader | 2021-04-15 10:19:16,119 - crypto_trading_logger - INFO - Creating database schema if it doesn't already exist

after 30 minutes this error appears APIError(code=-1013): Filter failure: MIN_NOTIONAL

Orkad commented 3 years ago

Same for me. Edit: solved (got a pending order)

babico commented 3 years ago

delete your old api and get new one

xoco70 commented 3 years ago

Same here, tried to generate a new key but didn't work.

pi@raspberrypi:~/binance-trade-bot $ python3 -m binance_trade_bot 2021-04-30 06:49:00,118 - crypto_trading_logger - INFO - Starting 2021-04-30 06:49:01,278 - crypto_trading_logger - INFO - Chosen strategy: default 2021-04-30 06:49:01,279 - crypto_trading_logger - INFO - Creating database schema if it doesn't already exist 2021-04-30 06:51:46,083 - crypto_trading_logger - INFO - Will be jumping from to BTTDASHUSDT 2021-04-30 06:51:46,507 - crypto_trading_logger - INFO - Skipping sell 2021-04-30 06:51:53,438 - crypto_trading_logger - INFO - BUY QTY 17.0 2021-04-30 06:51:53,864 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:51:55,291 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:51:56,720 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:51:58,146 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:51:59,575 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:52:01,206 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:52:02,838 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:52:04,272 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:52:05,699 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-04-30 06:52:07,127 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL

I have bought 50 euros in binance to test the bot, it bought all in VET. Is it normal behaviour?

leantrace commented 3 years ago

Same here, i see only:

2021-04-30 14:12:43,388 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL
2021-04-30 14:12:44,619 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL
2021-04-30 14:12:45,852 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL
2021-04-30 14:12:47,085 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL
2021-04-30 14:12:48,314 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL
2021-04-30 14:12:49,546 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL

regeneration the key does not help

helloanil commented 3 years ago

This happened to me last night. I checked my open orders on Binance and there was an open order which was not fulfilled yet. Check your orders and cancel, then set your current_coin to whatever you're holding.

rel-s commented 3 years ago

Unfulfilled orders are still a weak spot for the bot... We now have time limits on sell/buy orders (in user.cfg, default is no timeout), but I have heard that some issues still exist with the buy timeout. If you don't want to use timeout settings, you'll have to manually intervene as @helloanil suggested. Closing this as there is already an issue for timeout issues.

na1luj commented 3 years ago

2021-06-08 19:11:55,413 - crypto_trading_logger - INFO - Starting 2021-06-08 19:11:56,107 - crypto_trading_logger - INFO - Chosen strategy: default 2021-06-08 19:11:56,107 - crypto_trading_logger - INFO - Creating database schema if it doesn't already exist 2021-06-08 19:14:31,002 - crypto_trading_logger - INFO - Will be jumping from to BAT EOSUSDT 2021-06-08 19:14:31,268 - crypto_trading_logger - INFO - Skipping sell 2021-06-08 19:14:35,378 - crypto_trading_logger - INFO - BUY QTY 1.56 of 2021-06-08 19:14:35,640 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-06-08 19:14:36,896 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-06-08 19:14:38,595 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-06-08 19:14:39,848 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-06-08 19:14:41,111 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL 2021-06-08 19:14:42,363 - crypto_trading_logger - INFO - APIError(code=-1013): Filter failure: MIN_NOTIONAL

same problem, changing API key doesn't help