AI4Finance-Foundation / AI4Finance-Foundation/FinRL

AlpacaProcessor not creating price_array due to mismatch of array dimensions

Đang mở
#982 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Jupyter Notebook
Star
16.3k
Fork
3.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi Everyone!
**Describe the bug**

When running the AlpacaProcessor to clean the previously downloaded Data, somehow the data gets / is mismatched, resulting in an error when trying to create price_array, tech_array and turbulence_array from the data as in screenshot below.

I have read many issues here and tried a series of approaches, but the error still persists. Changing some times due to timezones did not seem to have any effect e.g. . I have run clean_data successfully in the past (a few months ago) . Did anyone come across the same bug ? I would be very grateful in any idea on how to resolve this.

I am not sure how exactly to further describe the Bug, however I am happy to elaborate further or give more information in response to any suggestion / question. Thank you very much for your efforts in assisting me! Would really love to get this to work again!

**To Reproduce**
Steps to reproduce the behavior:
1. Go to PapertradingDemo
2. Run the Notebook
3. Scroll down to DP.df_to_array(processed_data, if_vix=True)
4. See error of mismatching input array dimensions

**Expected behavior**
Have a dataset downloaded, cleaned and processes by the processor, so price_array etc. can be successfully derived from the dataset.

**Screenshots**
If applicable, add screenshots to help explain your problem.

![Bildschirmfoto 2023-04-13 um 09 19 44](https://user-images.githubusercontent.com/47542531/231683821-6064294e-1d6a-49f6-b962-fc1148ea3f3a.png)

**Additional context**
Add any other context about the problem here.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.