Gym-Trading-Env icon indicating copy to clipboard operation
Gym-Trading-Env copied to clipboard

Don't terminate on warnings

Open sebnapi opened this issue 1 year ago • 1 comments

This drove me crazy, there are many deprecation warnings with tensorflow and numpy, especially because you don't specify any versions or requirements. This line was the problem:

https://github.com/ClementPerroud/Gym-Trading-Env/blob/6d7b773b3ef4172fe5b2251b25f5d0f6557a3a42/src/gym_trading_env/environments.py#L14-L15

Over night the code stopped working and I have no clue why it worked before. But removing the termination on warning helped run it again.

sebnapi avatar Sep 09 '23 10:09 sebnapi