Error getting Ticks in C#

So i started making a test app that gets the ticks of the bear market (using as a base the sample app provided in the Api page), but the problem is that after a minute or so i stop receiving the ticks from the server. Tried sending a ping every 3 seconds to keep the connection open and now i get an exception from the WebSocket object saying that the WebSocket has a non valid state ('Aborted').

I´m using .Net 4.5.2 in VS2017

Thanks in advance


Sign In or Register to comment.