FinRL-Tutorials icon indicating copy to clipboard operation
FinRL-Tutorials copied to clipboard

TypeError in run_ensemble_strategy method due to missing arguments

Open s7Ayo opened this issue 1 year ago • 0 comments

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) in <cell line: 1>() ----> 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'

s7Ayo avatar Apr 02 '24 10:04 s7Ayo