AI4Finance-Foundation / FinRL

FinRL: Financial Reinforcement Learning. 🔥
https://ai4finance.org
MIT License
9.4k stars 2.29k forks source link

run_ensemble_strategy error #1001

Open GediZhou opened 1 year ago

GediZhou commented 1 year ago

Should this line https://github.com/AI4Finance-Foundation/FinRL/blob/7414adb012b554f7c684d4615830dc5c31a094d1/finrl/agents/stablebaselines3/models.py#L319

be last_state = trade_env.envs[0].render() ?

Otherwise it'll call the render method defined by VecEnv class, which returns None.