zerodha / pykiteconnect

The official Python client library for the Kite Connect trading APIs
MIT License
981 stars 469 forks source link

fix: Do not subscribe if there was an unclean closure before #54

Closed joeirimpan closed 5 years ago

joeirimpan commented 5 years ago

This is an ugly hack to prevent resubscription if there was an unclean closure before. What if the connection is a new one / server removes the connection?