Marfusios / bitfinex-client-websocket

🛠️ C# client for Bitfinex & Ethfinex websocket API version 2.0
Apache License 2.0
55 stars 38 forks source link

20051 Stopping. Please try to reconnect #9

Closed KaiserSozo closed 6 years ago

KaiserSozo commented 6 years ago

What should I do when I see message like this: 20051 Stopping. Please try to reconnect Crete new communicator or all new connection?

KaiserSozo commented 6 years ago

Also, I have experienced quotes stopping without that message, that caused in money loss. Is that usual situation? How can I check stream state?

KaiserSozo commented 6 years ago

Also, I see that quotes are coming one time in 10 seconds. Why is interval so big? On web site quotes changing severa times in one second.

Marfusios commented 6 years ago

Hello,

ticker channel is slow on purpose, it sends a message only if the bid/ask was changed (order book on level zero). Anyway, I don't use it, if I need real-time updates I subscribe to BookStream and TradesStream which are really fast.

Regarding reconnecting - probably same issue as #12?