Replacing deprecated alpaca_trade_api library with alpaca#1378
Conversation
Removed 'alpaca-trade-api' from dependencies.
Removed alpaca_trade_api dependency from requirements.
Removed unused import statements for alpaca_trade_api.
for more information, see https://pre-commit.ci
|
I've been digging through the code some more, it looks like the FinRL_PaperTrading_Demo.ipynb will need to be updated as well. I am looking into this. |
Removed unnecessary installation commands for wrds, swig, and condacolab.
for more information, see https://pre-commit.ci
Removed unused import of the alpaca module.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
|
Sorry for all the commits on this pull request. There was a lot more areas of the code that needed updated to the new A couple of things to note:
Thank you for your patience on this! Let me know if you have any questions about the changes made! |
|
@kuds I ran FinRL_PaperTrading_Demo.ipynb, however, it still getting this error (see below) after installing the package. Cna you help?
|
|
@georgia-max This fix has not been merged into the main branch yet. If you are looking to start playing with the FinRL Paper Trading Demo in the meantime, please the use this version from the PR: FinRL_PaperTrading_Demo.ipynb The only change you will need to make is to update the git install url from the main branch to the PR's branch: Before ## install finrl library
!pip install git+https://github.com/AI4Finance-Foundation/FinRL.gitAfter ## install finrl library
!pip install git+https://github.com/kuds/FinRL.git@BruceYanghy @zhumingpassional Who should I work with to get this PR approved, or let me know if you need any additional changes (testing, documentation, etc.)! |


Design
alpaca_trade_api(Github Repo) has been deprecated and is no longer compatible with Google Colab due to it referencing libraries that are now out of date. This change is to replace the old library with the newer versionalpaca(Github Repo). This Pull Request is related to Issue #1376.A separate pull request will be open for the FinRL Tutorial repository to handle this update.
Google Colab Error