AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

FinRL_MultiCrypto_Trading.ipynb is not working notebook

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

Mô tả

1. Talib is not correctly installed. It gives the error while importing from meta.data_processor import DataProcessor
2. While running DP = DataProcessor(data_source="binance", start_date='2021-09-01', end_date='2021-09-02', time_interval="5m") you will get:

```
binance is NOT supported yet.
---------------------------------------------------------------------------
UnboundLocalError Traceback (most recent call last)
[/content/FinRL-Meta/meta/data_processor.py](https://localhost:8080/#) in __init__(self, data_source, start_date, end_date, time_interval, **kwargs)
86 try:
---> 87 self.processor = processor_dict.get(self.data_source)(
88 data_source, start_date, end_date, time_interval, **kwargs

UnboundLocalError: cannot access local variable 'processor_dict' where it is not associated with a value

During handling of the above exception, another exception occurred:

ValueError Traceback (most recent call last)
1 frames
[/tmp/ipython-input-4-2829017039.py](https://localhost:8080/#) in ()
----> 1 DP = DataProcessor(data_source="binance", start_date='2021-09-01', end_date='2021-09-02', time_interval="5m")

[/content/FinRL-Meta/meta/data_processor.py](https://localhost:8080/#) in __init__(self, data_source, start_date, end_date, time_interval, **kwargs)
90 print(f"{self.data_source} successfully connected")
91 except:
---> 92 raise ValueError(
93 f"Please input correct account info for {self.data_source}!"
94 )

ValueError: Please input correct account info for binance!
```

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

Mở hướng dẫn đóng góp

Đá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.