AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

Errors in 1-Introduction/Stock_NeurIPS2018_3_Backtest.ipynb

Ouverte
#38 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Jupyter Notebook
Étoiles
1.2k
Forks
435
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

1. Where is 'processed_full' defined?
```
----> 1 data_risk_indicator = processed_full[(processed_full.date=TRAIN_START_DATE)]
2 insample_risk_indicator = data_risk_indicator.drop_duplicates(subset=['date'])
NameError: name 'processed_full' is not defined
```

2. Where is the file 'agent_a2c.zip'?
```
----> 1 trained_a2c = A2C.load("agent_a2c") if if_using_a2c else None
2 trained_ddpg = DDPG.load("agent_ddpg") if if_using_ddpg else None
FileNotFoundError: [Errno 2] No such file or directory: 'agent_a2c.zip'
```

I countered above error when I followed the tutorial (https://finrl.readthedocs.io/en/latest/start/first_glance.html). But every Colab notebook example reads files created from the previous example and sometimes non-existing files too. I am afraid that I cannot continue the tutorial.

Can I let the current Colab notebook read files created from the previous Colab notebok example?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.