AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

FinRL_MultiCrypto_Trading.ipynb is not working notebook

Aperta
#109 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
1.2k
Fork
435
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.