CyberPunkMetalHead / Binance-News-Sentiment-Bot

This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds. If you like this project consider donating though the Brave browser to allow me to continuously improve the script.
MIT License
1.58k stars 289 forks source link

ETHUSDT #15

Closed sprototles closed 3 years ago

sprototles commented 3 years ago

when buying ETH Traceback (most recent call last): File "D:\Downloads\Schneider\ScriptingPath\Crypto\Binance-News-Sentiment-Bot-main\news-analysis.py", line 447, in buy(compiled_sentiment, headlines_analysed) File "D:\Downloads\Schneider\ScriptingPath\Crypto\Binance-News-Sentiment-Bot-main\news-analysis.py", line 348, in buy test_order = client.create_test_order(symbol=coin+PAIRING, side='BUY', type='MARKET', quantity=volume[coin+PAIRING]) File "D:\Program_files\Python\Python39\lib\site-packages\binance\client.py", line 1633, in create_test_order return self._post('order/test', True, data=params) File "D:\Program_files\Python\Python39\lib\site-packages\binance\client.py", line 295, in _post return self._request_api('post', path, signed, version, kwargs) File "D:\Program_files\Python\Python39\lib\site-packages\binance\client.py", line 242, in _request_api return self._request(method, uri, signed, kwargs) File "D:\Program_files\Python\Python39\lib\site-packages\binance\client.py", line 237, in _request return self._handle_response() File "D:\Program_files\Python\Python39\lib\site-packages\binance\client.py", line 285, in _handle_response raise BinanceAPIException(self.response) binance.exceptions.BinanceAPIException: APIError(code=-1013): Filter failure: LOT_SIZE

CyberPunkMetalHead commented 3 years ago

Thanks, this should now be resolved in the last commit.