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 摘要。