AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

FinRL_MultiCrypto_Trading.ipynb is not working notebook

未关闭
#109 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
1.2k
派生
435
PR 合并指标
30 天内没有已合并 PR

描述

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!
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。