It looks like you're new here. If you want to get involved, click one of these buttons!
while True:
#Perform required data operation using tick data
def on_ticks(ws, ticks):
..........
helper_method(ticks)
.........
def helper_method(ticks):
.........
Perform computation here
........
#Assign callback
kws.on_ticks=on_ticks
threaded=True
and let it handle tick data.^
how this another thread gets created