Closed Balduxnet closed 3 years ago
what error message did you get?
checking TP/SL...
Traceback (most recent call last):
File "C:\Users\Baldux\Anaconda2020.11\lib\site-packages\urllib3\connectionpool.py", line 426, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\Baldux\Anaconda2020.11\lib\site-packages\requests\adapters.py", line 439, in send resp = conn.urlopen( File "C:\Users\Baldux\Anaconda2020.11\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen retries = retries.increment( File "C:\Users\Baldux\Anaconda2020.11\lib\site-packages\urllib3\util\retry.py", line 410, in increment raise six.reraise(type(error), error, _stacktrace) File "C:\Users\Baldux\Anaconda2020.11\lib\site-packages\urllib3\packages\six.py", line 735, in reraise raise value File "C:\Users\Baldux\Anaconda2020.11\lib\site-packages\urllib3\connectionpool.py", line 670, in urlopen httplib_response = self._make_request( File "C:\Users\Baldux\Anaconda2020.11\lib\site-packages\urllib3\connectionpool.py", line 428, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "C:\Users\Baldux\Anaconda2020.11\lib\site-packages\urllib3\connectionpool.py", line 335, in _raise_timeout raise ReadTimeoutError( urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.binance.com', port=443): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Binance Detect Moonings.py", line 396, in
I have the same problem, maybe if we could set the timeout for 20 seconds is better, but anyway the bot should not crash after a connection lost...
Same here.
[2021-05-19 08:37:03] Signalsample: Max signal by QTUMUSDT at 18 on shortest timeframe [2021-05-19 08:37:03] Signalsample: No coins above 18 threshold on both timeframes [2021-05-19 08:37:03] Signalsample: Waiting 4 minutes for next analysis [2021-05-19 08:41:03] Signalsample: Analyzing 90 coins [2021-05-19 08:41:13] Signalsample: [2021-05-19 08:41:13] Exception: [2021-05-19 08:41:13] HTTPSConnectionPool(host='scanner.tradingview.com', port=443): Read timed out. (read timeout=10) [2021-05-19 08:41:13] Coin: 1INCHUSDT [2021-05-19 08:41:13] First handler: <tradingview_ta.main.TA_Handler object at 0x7fd9ac94e590> [2021-05-19 08:41:13] Second handler: <tradingview_ta.main.TA_Handler object at 0x7fd9ac94e510> Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/usr/lib64/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/root/Binance-volatility-trading-bot/signalsamplemod.py", line 91, in do_work signal_coins = analyze(pairs) File "/root/Binance-volatility-trading-bot/signalsamplemod.py", line 62, in analyze first_tacheck = first_analysis.summary['BUY'] AttributeError: 'dict' object has no attribute 'summary'
Same here.
AttributeError: 'dict' object has no attribute 'summary'
this is a different error, please create a separate issue report 👍
Having the same problem. Have another bot running, that could handle the exception and continue running smoothly. My code is running on a hosted Server, so it can'ät be the problem of my private internet connection.
Fixed in latest release
Facing the same issue .
Exception in thread Thread-2: Traceback (most recent call last): File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\threading.py", line 954, in _bootstrap_inner self.run() File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run self._target(*self._args, **self._kwargs) File "D:\tradebot\Binance-volatility-trading-bot\signalsamplemod.py", line 91, in do_work signal_coins = analyze(pairs)
Any fix ?
if the connection is lost the bot stops, please handle the exception. Thanks!