AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

Errors in 1-Introduction/Stock_NeurIPS2018_3_Backtest.ipynb

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

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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