Closed sshcli closed 3 weeks ago
Migrate all features from old alpaca-trade-api to the new alpaca-py, so people don't need to use alpaca-trade-api anymore
Agree. Please let me consider to support missing features of alpaca-py.
Running into this same issue: !pip install --upgrade setuptools !pip install --upgrade pandas !pip install "websockets<11" (exhausted all attempts here) !pip install jedi fastapi kaleido python-multipart uvicorn !apt-get install swig !pip install wrds !pip install git+https://github.com/AI4Finance-LLC/FinRL-Library.git !pip install pyfolio !pip install yfinance !pip install alpaca-trade-api !pip install alpaca-trade-api==3.2.0 !pip install alpaca-py !pip install pyfolio ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. alpaca-py 0.14.0 requires websockets<12.0.0,>=11.0.3, but you have websockets 10.4 which is incompatible.
For now i'm trying to find a workaround for the dependency conflict, such as using virtual environments to separate projects that depend on alpaca-trade-api and alpaca-py
I have merged https://github.com/alpacahq/alpaca-py/pull/435 a while ago. This allows you to install both alpaca-trade-api and alpaca-py at the same time. But please note that we deprecated alpaca-trade-api
and no more update. Alpaca-py gradually covers all the functionality. Therefore, please migrate from alpaca-trader-api to alpaca-py.
Is there an existing issue for this?
Current Behavior
When you use both
alpaca-py
andalpaca-trade-api
, you get the following conflict when upgrading toalpaca-py 0.13.4
:Expected Behavior
Because
alpaca-trade-api
is still needed for some functions not available yet inalpaca-py
(E.g.get_activities()
) Some changes must be made to avoid this conflict.SDK Version I encountered this issue in
alpaca-py 0.13.4
Steps To Reproduce
Filled out the Steps to Reproduce section?
Anything else?
Migrate all features from old
alpaca-trade-api
to the newalpaca-py
, so people don't need to usealpaca-trade-api
anymore