AI4Finance-Foundation / FinRL

FinRL: Financial Reinforcement Learning. 🔥
https://ai4finance.org
MIT License
9.37k stars 2.28k forks source link

Update processor_alpaca.py #1185

Open Omers5 opened 3 months ago

Omers5 commented 3 months ago

Update processor_alpaca to use the new Alpaca-Py instead of the deprecated alpaca-trade-api.

Might be a bit inefficient due to changing the dataframe structure output by Alpaca-Py to match alpaca-trade-api's outputted dataframe structure, in an effort to minimize errors that this might cause in other files.

zhumingpassional commented 3 months ago

thanks for your work. Is it caused by the updating of Alpaca? have you tested it?