AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Tutorials

TypeError in run_ensemble_strategy method due to missing arguments

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

描述

I followed the instructions from [this tutorial/notebook](https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/2-Advance/FinRL_Ensemble_StockTrading_ICAIF_2020.ipynb) and expected the method to work as shown.

`df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs,
PPO_model_kwargs,
DDPG_model_kwargs,
timesteps_dict)`

**And the code above was working before, but now it keeps throwing back the error below.**

TypeError Traceback (most recent call last)
[](https://localhost:8080/#) in ()
----> 1 df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs,
2 PPO_model_kwargs,
3 DDPG_model_kwargs,
4 timesteps_dict)

TypeError: DRLEnsembleAgent.run_ensemble_strategy() missing 2 required positional arguments: 'TD3_model_kwargs' and 'timesteps_dict'

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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