rongardF / tvdatafeed

A simple TradingView historical Data Downloader
MIT License
281 stars 153 forks source link

connection closed issue #24

Open lymbf opened 1 year ago

lymbf commented 1 year ago

Hi, I've re-created ur programm into bot collecting data in node.js. Most of the methods are implemented the same way, enviroment is the only difference. Did you, or anybody else using those websockets face the connection closed issue? WS is getting data for about a minute and then TV is closing the connection. Should I be sending ping-pong or sth?

inanderinakin commented 6 months ago

I am facing the same issue in python.

lymbf commented 6 months ago

I've added timeouts between eacch connection ( im invoking it many times for many symbols ), with added timeout it's all smooth :)

inanderinakin commented 6 months ago

Can you give me some contact information so that I can contact you? I need help

lymbf commented 6 months ago

Can you give me some contact information so that I can contact you? I need help

Sure, but mm where, dont really want to send my personal info publicly :P