AI4Finance-Foundation / FinRL

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

AttributeError: 'Timedelta' object has no attribute 'delta' , After #1007 #1018

Open LunbiWa opened 1 year ago

LunbiWa commented 1 year ago

after #1007 Update processor_alpaca.py

Run FinRL_PaperTrading_Demo.ipynb in FinRL/examples/ colab reports an error

image

thanks!

rl3250 commented 1 year ago

same on this. any updates?

aazzizzz1 commented 1 year ago

I'm changes the code with if pd.Timedelta(time_interval).total_seconds() < day_delta:

HenryJALee commented 11 months ago

Is this being looked at?

AjinkyaBankar commented 11 months ago

I'm changes the code with if pd.Timedelta(time_interval).total_seconds() < day_delta:

This worked. Thanks!

ZalvinZ commented 11 months ago

Hi @AjinkyaBankar @aazzizzz1 Was there any other changes made? I am facing the same issue, but the suggested solution does not work for me.

AjinkyaBankar commented 11 months ago

I did no other changes.