Closed leacostae closed 1 year ago
There are 3 errors, all related to a lost network connection...
In the file BINANCE_FUTURE_TEST_BOT_BNBBUSD.py on row 220 your script tries something while there is no internet.
You need to catch the exception like:
try:
ubra = unicorn_binance_rest_api.BinanceRestApiManager(binance_api_key, binance_api_secret)
except requests.exceptions.ConnectionError:
print("No internet connection!")
Version of this library.
unicorn-binance-rest-api 1.5.0
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
Hardware?
VPS or other cloud hosting
Operating System?
Windows
Python version?
Python3.7
Installed packages
Logging output
Used endpoint?
binance.com-futures
Issue
I am testing a script that buys and sells cryptos on Binance Futures, every morning I check the bot's logs and I find the error described in the issue, I don't know what the reasons were or could be