☰
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
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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