XChange icon indicating copy to clipboard operation
XChange copied to clipboard

Ping/Pong implmentation for StreamingMarketDataService

Open m1dnightc0der opened this issue 3 years ago • 0 comments

Some exchanges implement a ping/pong heartbeats, however I am not sure this is implemented via the streaming services.

It might be useful for upstream applications to issue heartbeats, and then if they fail try to re-initialise the whole connection and was wondering if getPing should be implemented in the StreamingMarketDataSerivice.

An example exchange that implements pings

https://docs.ftx.com/#websocket-api

m1dnightc0der avatar Mar 17 '22 14:03 m1dnightc0der