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

installation of alphatrade.git giving error #64

Open
venkatnese opened this issue Jan 23, 2024 · 16 comments
Open

installation of alphatrade.git giving error #64

venkatnese opened this issue Jan 23, 2024 · 16 comments

Comments

@venkatnese
Copy link

-mac-0 ~ % python3 -m pip install https://github.com/algo2t/alphatrade.git
Defaulting to user installation because normal site-packages is not writeable
Collecting https://github.com/algo2t/alphatrade.git
Downloading https://github.com/algo2t/alphatrade.git
| 350.5 kB 1.7 MB/s 0:00:00
ERROR: Cannot unpack file /private/var/folders/1j/8_pm1x6d4tl6yxjb6d66x9d40000gp/T/pip-unpack-45dz7nwe/alphatrade.git (downloaded from /private/var/folders/1j/8_pm1x6d4tl6yxjb6d66x9d40000gp/T/pip-req-build-ipjid2y_, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /private/var/folders/1j/8_pm1x6d4tl6yxjb6d66x9d40000gp/T/pip-req-build-ipjid2y_

@pannet1
Copy link

pannet1 commented Sep 13, 2024

python3 -m pip install git+https://github.com/algo2t/alphatrade.git

@rahulmr
Copy link
Collaborator

rahulmr commented Sep 13, 2024

Guys is it still working for you? :)

@nevatia
Copy link

nevatia commented Sep 13, 2024 via email

@pannet1
Copy link

pannet1 commented Sep 17, 2024

few things not working , like ws and order punching. Dont know why you modified code , earlier was working fine and that is still working fine.

hello bro, how are you.

i tried the api few days ago, it was not working .

@nevatia
Copy link

nevatia commented Sep 17, 2024

few things not working , like ws and order punching. Dont know why you modified code , earlier was working fine and that is still working fine.

hello bro, how are you.

i tried the api few days ago, it was not working .

Please elaborate issue, there was some issue perhaps at broker end on 3rd and 4th sep.

@pannet1
Copy link

pannet1 commented Sep 17, 2024

few things not working , like ws and order punching. Dont know why you modified code , earlier was working fine and that is still working fine.

hello bro, how are you.
i tried the api few days ago, it was not working .

Please elaborate issue, there was some issue perhaps at broker end on 3rd and 4th sep.

i wanted to quickly generate the accesstoken and inject into the javascript app i am currently doing. now the need is over. Raul's app helped me learn the current documentation.

image

@rahulmr
Copy link
Collaborator

rahulmr commented Sep 25, 2024

SASOnline has moved now, so need to check their new platform

@pannet1
Copy link

pannet1 commented Oct 16, 2024

@rahulmr the main attraction of sas platform i think is brokerage, websocket and a decent speed. now, they have increased their brokerage, if the orders are above certain limit. don't know if you still have the appeal for this.

however, my client is discussing on 2 more apps, which i may probably do between SAS/Finvasia. i may want to do with SAS because they provide bracket order for options. however, i am struck with the broken SAS SDK.

counting on your and @nevatia 's support. will make an attempt soon and let you know.

@rahulmr
Copy link
Collaborator

rahulmr commented Oct 16, 2024

@pannet1 sure, let start working again. But the only problem they seem to change their name to stocko
Not sure if they are going to use these same APIs.

@pannet1
Copy link

pannet1 commented Oct 16, 2024

@nevatia

$pip install -r requirements.txt
NFO: pip is looking at multiple versions of alphatrade to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 9) and setuptools<58.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested setuptools<58.0.0
    alphatrade 1.0.0 depends on setuptools==70.0.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

@rahulmr
Copy link
Collaborator

rahulmr commented Oct 16, 2024

Change the requirements.txt file and change the setuptools<=58 and try

@pannet1
Copy link

pannet1 commented Oct 17, 2024

it worked Rahul, i am able to get access token. Moving on to websocket now.

@nevatia
Copy link

nevatia commented Nov 24, 2024

Change the requirements.txt file and change the setuptools<=58 and try

Found alternative working protlib , independent of setuptool version.
https://pypi.org/project/ecmind-protlib-transition/#description
Please check n update requirements file accordingly.

@pannet1
Copy link

pannet1 commented Jan 17, 2025

Change the requirements.txt file and change the setuptools<=58 and try

Found alternative working protlib , independent of setuptool version. https://pypi.org/project/ecmind-protlib-transition/#description Please check n update requirements file accordingly.

fantastic bro. as usual. you are a star :-)

@nevatia
Copy link

nevatia commented Jan 17, 2025

Now sasonline has changed to stocko. Check stockopi on github

@pannet1
Copy link

pannet1 commented Jan 18, 2025

Now sasonline has changed to stocko. Check stockopi on github

seems you made a complete rewrite. thank you anyway.

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

4 participants