FinRL-Tutorials
FinRL-Tutorials copied to clipboard
TypeError in run_ensemble_strategy method due to missing arguments
I followed the instructions from this tutorial/notebook 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)
TypeError: DRLEnsembleAgent.run_ensemble_strategy() missing 2 required positional arguments: 'TD3_model_kwargs' and 'timesteps_dict'