algo2t / alphatrade

Python APIs for SAS Online Alpha Trade Web platform for creating algo trading using python
https://algo2t.github.io/alphatrade
MIT License
44 stars 23 forks source link

Live feeds not working. Socket issue #22

Closed ravi14390 closed 2 years ago

ravi14390 commented 2 years ago

Hi there,

Since today morning, socket is not getting connected and live feeds are not working. Till yesterday it was working fine.

Here is my code, socket_opened is not getting True.

def SubscribeIndex(): global isSocketRunning sas.start_websocket(subscribe_callback=event_handler_quote_update, socket_open_callback=open_callback, run_in_background=True) while(socket_opened==False): pass

geekytapan commented 2 years ago

facing same issue since yesterday.

ronaldpaul commented 2 years ago

Yes. Same issue. Hi @algo2t, the API live feed is not working at all. Looks like SAS Online might have blocked. But actually the web socket connection is returning 'None' without through errors.

TrackMyToken commented 2 years ago

yes I am also facing the same issue

ronaldpaul commented 2 years ago

Hi @algo2t, there is no use of this framework unless this Web socket issue is resolved. Please rectify it. Thanks for your effort.

TrackMyToken commented 2 years ago

I checked now, it started working

ravi14390 commented 2 years ago

Started working now.... may be temporary issue from SaS side.

algo2t commented 2 years ago

Hi @algo2t, there is no use of this framework unless this Web socket issue is resolved. Please rectify it. Thanks for your effort.

Please comment carefully. As this is not official framework so don't expect too much. It depends on the platform SAS provides. When issue is resolved please close it.