Open burger456 opened 6 months ago
i meet the same issue, may i know any update for this?
File "xxx/FinRL/finrl/test.py", line 53, in test episode_total_assets = DRLAgent_erl.DRL_prediction( TypeError: DRLAgent.DRL_prediction() missing 1 required positional argument: 'env_args'
Problem found: mising one parameter
just add env_args = env_config
to
_DRLAgent_erl.DRL_prediction(
model_name=model_name,
cwd=cwd,
net_dimension=net_dimension,
environment=env_instance,
env_args = env_config
)_
When I tested with this finrl, I encountered a problem with missing parameters. Can the test cases in Frinl still be used? Do you need improvement?
` if options.mode =="test": from finrl import test from finrl import train