AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

FinRL_MultiCrypto_Trading.ipynb is not working notebook

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.2k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.