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 摘要。