☰
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.3K
All Categories
0
Incidents
165
Node JS client
46
Go client
809
.Net API client
388
Kite Publisher
538
.Net / VBA / Excel (3rd party)
469
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
353
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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