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 22 forks source link

API not logging in #51

Closed hardikchhajar closed 1 year ago

hardikchhajar commented 1 year ago

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): alpha.sasonline.in:443 DEBUG:urllib3.connectionpool:https://alpha.sasonline.in:443 "GET /api/v2/profile HTTP/1.1" 401 61 DEBUG:urllib3.connectionpool:https://alpha.sasonline.in:443 "POST /api/v2/login HTTP/1.1" 200 144 DEBUG:urllib3.connectionpool:https://alpha.sasonline.in:443 "POST /api/v2/checktwofa HTTP/1.1" 500 45 Traceback (most recent call last): File "c:\Users\Ganpati\Desktop\SAS\config.py", line 12, in sas = AlphaTrade(login_id=login_id, password=password, twofa=pin) File "C:\Users\Ganpati\AppData\Local\Programs\Python\Python310\lib\site-packages\alphatrade\alphatrade.py", line 240, in init self.set_access_token() File "C:\Users\Ganpati\AppData\Local\Programs\Python\Python310\lib\site-packages\alphatrade\alphatrade.py", line 309, in set_access_token raise requests.HTTPError(response.text) requests.exceptions.HTTPError: {"errors":{"detail":"Internal server error"}}

hardikchhajar commented 1 year ago

Traceback (most recent call last): File "c:\Users\Ganpati\Desktop\SAS\config.py", line 12, in sas = AlphaTrade(login_id=login_id, password=password, twofa=pin) File "C:\Users\Ganpati\AppData\Local\Programs\Python\Python310\lib\site-packages\alphatrade\alphatrade.py", line 240, in init self.set_access_token() File "C:\Users\Ganpati\AppData\Local\Programs\Python\Python310\lib\site-packages\alphatrade\alphatrade.py", line 309, in set_access_token raise requests.HTTPError(response.text) requests.exceptions.HTTPError: {"errors":{"detail":"Internal server error"}}

nevatia commented 1 year ago

Please send ur tel e gra m_i d

bhaskarndas commented 1 year ago

Even I am also facing the same issue

bhaskarndas commented 1 year ago

my telegram_id bhaskarndas

DaXAce commented 1 year ago

Hi @bhaskarndas , is your issue resolved? i am still facing issue... @nevatia , how to resolve this? my telegram id is @DaXAce ...

nevatia commented 1 year ago

@sasonlineunofficial join here

algo2t commented 1 year ago

Closing this issue as it is not reproducible for me. I have already worked on Linux and Windows both. Make sure you try to install the latest version v1.0.0 and see if login works. Do not forget to go through the README