How to close websocket?
-
I want to close web socket on specific time. I used sws.close_connection() for close web socket but it's not working. So please let me know How can I close Web Socket?
-
@dhaval0208 Hi, you can use the 'exchange_timestamp' key from the websocket message and call sws.close_connection() accordingly. Hope this helps.
Thank you.
Regards,
Jaideep Siddula -
Hello @dhaval0208
We have rised your concern to our tech team and we will get back to you soonRegards,
SmartAPI Team