☰
Login
Signup
Home
›
Market data (WebSockets)
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.9K
All Categories
0
Incidents
177
Node JS client
51
Go client
841
.Net API client
397
Kite Publisher
554
.Net / VBA / Excel (3rd party)
490
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
409
PHP client
4.3K
Python client
357
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
General
In this Discussion
November 2016
pg1337
November 2016
Pushwinder
Closing a Websocket
Pushwinder
November 2016
in
Market data (WebSockets)
How to close a Websocket?? I have tried "break", the program stops but it is still connected.
Pushwinder
November 2016
PS: I am using python btw
pg1337
November 2016
Theres a function close() for the WebSocket class
https://kite.trade//docs/pykiteconnect/#kiteconnect.WebSocket.close
Pushwinder
November 2016
Thank you
@pg1337
, missed that part
This discussion has been closed.
https://kite.trade//docs/pykiteconnect/#kiteconnect.WebSocket.close