AI4Finance-Foundation / FinRL

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

start received with timezone defined as 'UTC' although a Date must be timezone naive #921

Open jamesgarza73 opened 1 year ago

jamesgarza73 commented 1 year ago

Describe the bug Although I attempted to compile this file, Step 3. Data Cleaning & Feature Engineering of the process failed with the following error. ValueError: Parameter start received with timezone defined as 'UTC' although a Date must be timezone naive.

To Reproduce Steps to reproduce the behavior: 1.running FinRL_PaperTrading_Demo.ipynb in local

  1. I removed timezone in session and then I got this while running Step 4. Transform to numpy array ValueError: Length of values (7350) does not match length of index (3750)

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Desktop:

jamesgarza73 commented 1 year ago

I have the Feb 7, 2023 version of FinRL.