alphatrade icon indicating copy to clipboard operation
alphatrade copied to clipboard

Websocket not working

Open raggs07 opened this issue 3 years ago • 2 comments

i am bit naive in websocket so reaching out to you.

i copy pasted your websocket code and tried executing it but it is not working. it just keep waiting and nothing gets printed. need help here. can you please post a working example.

raggs07 avatar Jan 10 '22 07:01 raggs07

At what time you tried the code? It must be used only when market is open.

algo2t avatar Apr 01 '22 22:04 algo2t

Hi I tried the code streaming.py during market hours, it keeps looping on following line on streaming.py : while(socket_opened == False): # wait till socket open & then subscribe pass Screenshot 2022-12-21 at 11 42 55

Not sure what is causing it to keep looping as the value of socket_opened is not turning to True.... (Checked this for past two days in live market 20-12-2022, 21-12-2022) I can see some past issues on websocket was temporary and it started working later....Any have the same issue? Any help will be appreciated 👍

flovex7 avatar Dec 21 '22 11:12 flovex7