gym-anytrading icon indicating copy to clipboard operation
gym-anytrading copied to clipboard

The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)

Results 13 gym-anytrading issues
Sort by recently updated
recently updated
newest added

Hi, I was battling with this a long time because I couldn't figure our why the env didn't give any reward even after 1 000 000 runs. But apparently StocksEnv...

The rewards don't seem to be a good metric to evaluate the model. I could have more reward and still have lower profit.

Hi . Hello @AminHP, how are you? I've been studying for that time and searching more and more about this world of trade and more and more, going to daytrade...

How to deploy the trained OpenAI gym model for stocking trading as app or into back testing frameworks like backtrader to predict buy or Sell ?

Hello, Today I stumpled upon this mighty fine github repo that allows you to visualize the training behaviour of an RL that runs on OpenAI's Gym. https://github.com/deepmind/bsuite Just thought that...

I have trained an A2C model on some simulated stock data, following the same steps as are shown in [this notebook](https://github.com/nicknochnack/Reinforcement-Learning-for-Trading/blob/main/Reinforcement%20Learning%20GME%20Trading%20Tutorial.ipynb). On the line containing "obs = obs[np.newaxis, ...]" I...

Hi, Some algorithms uses rgb_array render mode. ` env = gym.make(env_id, render_mode='rgb_array') ` I'm getting error: ` gym_anytrading/envs/trading_env.py", line 29, in __init__ assert render_mode is None or render_mode in self.metadata['render_modes']...

Hi @AminHP @bionicles @super-pirata , could you please update the docs to include an explanation of the agent's asset pool and how the volume of an order is determined? An...

Hi, I am reading through the code since I plan to use this environment for a project, and I've realised that an action is only considered a trade if we...

I run the basic example given in the ReadMe and it gives me TypeError: Argument 'placement' has incorrect type (expected pandas._libs.internals.BlockPlacement, got slice) Import pytz from datetime import datetime, timedelta...