AI4Finance-Foundation / FinRL

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

Update env_stocktrading_np.py #1172

Closed olistokes closed 7 months ago

krishdotn1 commented 7 months ago

I think Finrl use latest version of stable_baselines3 and it requires gymnasium environment which you need to return 5 variables from step function and 2 variables from reset function.

it could generate error who is using latest version of stable-baselines3 and gymnasium.

zhumingpassional commented 7 months ago

@krishdotn1 k I agree with you