Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket not working #36

Open
raggs07 opened this issue Jan 10, 2022 · 2 comments
Open

Websocket not working #36

raggs07 opened this issue Jan 10, 2022 · 2 comments

Comments

@raggs07
Copy link

raggs07 commented Jan 10, 2022

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.

@algo2t
Copy link
Owner

algo2t commented Apr 1, 2022

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

@flovex7
Copy link

flovex7 commented Dec 21, 2022

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants