This Binance trading bot detects new coins as soon as they are listed on the Binance exchange and automatically places sell and buy orders. It comes with trailing stop loss and other features. If you like this project please consider donating via Brave.
I continue to get an "Connection reset by peer" issue, sometimes no more than a few minutes after I start the script. Anyone else experiencing this? It's not my network that's an issue. I've tried on multiple OVH servers (Australia, Canada), I've tried on my local network. All the same.
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "main.py", line 64, in add_updated_all_coins_to_queue
all_coins_updated = get_all_coins()
File "main.py", line 22, in get_all_coins
return client.get_all_tickers()
File "/usr/local/lib/python3.6/dist-packages/binance/client.py", line 571, in get_all_tickers
return self._get('ticker/price', version=self.PRIVATE_API_VERSION)
File "/usr/local/lib/python3.6/dist-packages/binance/client.py", line 371, in _get
return self._request_api('get', path, signed, version, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/binance/client.py", line 334, in _request_api
return self._request(method, uri, signed, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/binance/client.py", line 314, in _request
self.response = getattr(self.session, method)(uri, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
I continue to get an "Connection reset by peer" issue, sometimes no more than a few minutes after I start the script. Anyone else experiencing this? It's not my network that's an issue. I've tried on multiple OVH servers (Australia, Canada), I've tried on my local network. All the same.
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Discussion around the Binance API having issues with dropping clients here - https://www.reddit.com/r/binance/comments/lzz831/requestsexceptionsconnectionerror_connection/, but nothing of use.