Closed quantnik closed 2 years ago
Which WebSocket server endpoint are you referring to? Just to make it clear, as we have 2 versions running
Apologies -should have mentioned - this is v4
Have you tried using SDK in this repo? We've tested the client connection with the SDK and we barely saw connection lost.
The server will do the following to make sure active clients will not be closed easily.
spot.ping
received from the client, the timeout will be reset.
I've noticed that on some instruments, the server side closes the websocket after a while.
This is despite:
1) having the "infrastructure" level ping/pong enabled 2) explicitly doing the application level ping/pong every 30 seconds.
This mostly happens on the websocket when subscribing to trades, and only on infrequently traded instruments
Is this expected?
Thank you.