It looks like you're new here. If you want to get involved, click one of these buttons!
def on_connect(ws, response):
ws.subscribe(tokens)
ws.set_mode(ws.MODE_FULL, tokens)
t = []
def on_ticks(ws, ticks):
t.append(ticks)
# as per situations, subscribe to new tokens
ws.subscribe(tokens)