python-tradingview-ta
python-tradingview-ta copied to clipboard
connection error
Hello,
I follow the stating guide:
install package
+ add example
but get a connection error:
File "C:\Users\יונתן\AppData\Local\Programs\Python\Python37\lib\site-packages\requests\adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
any guess? thank you
Hello @YonathanB,
That error is caused by the requests
package. It might be because of your internet connection. Try disabling the firewall (if active) or use a VPN. Please let me know if you can see the technicals on this page: https://www.tradingview.com/symbols/NASDAQ-AAPL/technicals/.
@deathlyface , Thank you for your quick answer.
I can see there all the technicals
I am getting same error message after running the same loop a random number of times. I have already tried using VPN, and the thought of taking down my firewall isn't exactly appealing. Any other solutions? Is there any possibility of this being a rate limit issue?
If not, I wonder if there is a way to capture this error and automatically retry the connection instead of just crashing...