jugaad-py / jugaad-trader

Unofficial python client for Zerodha
https://marketsetup.in/documentation/jugaad-trader/
157 stars 111 forks source link

Ticker Connection Fixed #26

Open luckyIITR opened 3 years ago

sevakram commented 3 years ago

hi @luckyIITR Thanks for the contribution, can you please ensure the tests are passing with the new change, here is a guide-

https://github.com/jugaad-py/jugaad-trader/blob/master/contributing.md

and also please write a test for Ticker if possible.. i understand test for Websockets are challenging, but if you can nothing like it

thakur-raj commented 3 years ago

Hello @luckyIITR, Do we have any updates coming on this ?

bpkapkar commented 3 years ago

I am also facing the same issue unable to use Kite ticker are not able to get the data with kite ticker. Is this issue is fixed . Requesting you kindly help on this.

priyalorha commented 3 years ago

You might be trying when it is down for Mantaince

On Fri, 22 Oct, 2021, 10:10 pm bpkapkar, @.***> wrote:

I am also facing the same issue unable to use Kite ticker are not able to get the data with kite ticker. Is this issue is fixed . Requesting you kindly help on this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jugaad-py/jugaad-trader/pull/26#issuecomment-949794939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI6R4KIHZ66OFQXHQZWBZVTUIGHXVANCNFSM5BH5UHFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

bpkapkar commented 3 years ago

I am getting this error while connecting with ticker and not able to get the data as well. If its working for some one kindly help us or fix this issue if possible. I have tried to connect in market hours as well off market hours.


ReactorNotRestartable Traceback (most recent call last) /tmp/ipykernel_37/4281426390.py in 31 # Infinite loop on the main thread. Nothing after this will run. 32 # You have to use the pre-defined callbacks to manage subscriptions. ---> 33 kws.connect()

/opt/conda/lib/python3.7/site-packages/kiteconnect/ticker.py in connect(self, threaded, disable_ssl_verification, proxy) 530 self.websocket_thread.start() 531 else: --> 532 reactor.run(**opts) 533 534 def is_connected(self):

/opt/conda/lib/python3.7/site-packages/twisted/internet/base.py in run(self, installSignalHandlers) 1315 1316 def run(self, installSignalHandlers: bool = True) -> None: -> 1317 self.startRunning(installSignalHandlers=installSignalHandlers) 1318 self.mainLoop() 1319

/opt/conda/lib/python3.7/site-packages/twisted/internet/base.py in startRunning(self, installSignalHandlers) 1297 """ 1298 self._installSignalHandlers = installSignalHandlers -> 1299 ReactorBase.startRunning(cast(ReactorBase, self)) 1300 1301 def _reallyStartRunning(self) -> None:

/opt/conda/lib/python3.7/site-packages/twisted/internet/base.py in startRunning(self) 841 raise error.ReactorAlreadyRunning() 842 if self._startedBefore: --> 843 raise error.ReactorNotRestartable() 844 self._started = True 845 self._stopped = False

ReactorNotRestartable:

hemangjoshi37a commented 1 year ago

Is this project still alive? Why is this not getting merged?