connection closed . not working for 2nd tick onwards .ill have to run the helper function (which processes the popped tick from the queue )on another thread . . i saw this solution on a multithreading discussion thread ... can u show me how the whil…
while True:
def on_ticks(ws, ticks):
print("i am from while True -> on ticks: feed_data module called!")
plt.style.use('fivethirtyeight')
index = count()
def animate(i):
x.append(next(index))
…
Thanx a ton , the dictionary solution was beautiful . The function is giving proper output , only thing havnt tested during market hours . Even though ive specified the threaded=true argument i'm worried the connection might close in realtime as th…