☰
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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
July 2018
zartimus
July 2018
nithishkailas
Reactor not Restartable
nithishkailas
July 2018
in
Market data (WebSockets)
S_Object = KSD.Stream_Data()
# Initialise
kws = KSD.KiteTicker(KRA.Access_Token().api_key,Access_Token_value)
kws.on_ticks = S_Object.on_ticks
kws.on_connect = S_Object.on_connect
kws.on_close = S_Object.on_close
# Infinite loop on the main thread. Nothing after this will run.
# You have to use the pre-defined callbacks to manage subscriptions.
kws.connect()
ERROR :
lib\site-packages\twisted\internet\base.py", line 730, in startRunning
raise error.ReactorNotRestartable()
ReactorNotRestartable
nithishkailas
July 2018
passed the KiteTicker with api_key and Access_Token_value used to generate session.
zartimus
July 2018
@nithishkailas
ticker connection cannot be restarted in the same process. Is this the entire code?
Sign In
or
Register
to comment.