zerodha / pykiteconnect

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

Reactor Not Restartable Error #80

Closed YogeshSingla closed 1 year ago

YogeshSingla commented 4 years ago

On closing a KiteTicker object through the jupyter notebook interrupt, rerunning the cell gives a Reactor Not Restartable error.

arul67800 commented 3 years ago

opening in a new console solves this for me..Re running the code in same console throws this error

hemangjoshi37a commented 2 years ago

Have you fond any solution for this error? I am having same issue.

ranjanrak commented 2 years ago

ReactorNotRestartable

This error is thrown by Twisted, when you are trying to re-run a reactor that was stopped. You can not use the same process to re-run the reactor, once it's stopped by reactor.stop() event. This event is used in the on_close method in the kiteconnect ticker.