AminHP / gym-anytrading

The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)
MIT License
2.09k stars 459 forks source link

Feature Request: update from gym to gymnasium #85

Closed elliottower closed 11 months ago

elliottower commented 1 year ago

Hi, this repository is currently listed in the gymnasium third party environments but we are cleaning the list up to only include maintained gymnasium-compatible repositories.

Would it be possible for it to be upgraded from gym to gymnasium? Gymnasium is the maintained version of openai gym and is compatible with current RL training libraries (rllib and tianshou have already migrated, and stable-baselines3 will soon).

For information about upgrading and compatibility, see migration guide and gym compatibility. The main difference is the API has switched to returning truncated and terminated, rather than done, in order to give more information and mitigate edge case issues.

Alex2782 commented 1 year ago

@AminHP: https://github.com/AminHP/gym-anytrading/pull/86 (update from gym to gymnasium)

I have followed some guidelines as in the example: https://gymnasium.farama.org/tutorials/gymnasium_basics/environment_creation/

brlocky commented 11 months ago

@Alex2782 Great work !

AminHP commented 11 months ago

I just released version v2.0.0 which is fully compatible with the latest gymnasium.