Stock-Trading-Environment icon indicating copy to clipboard operation
Stock-Trading-Environment copied to clipboard

A custom OpenAI gym environment for simulating stock trades on historical price data.

Results 9 Stock-Trading-Environment issues
Sort by recently updated
recently updated
newest added

Hi, I was wondering, what will happen when shares_hold = 0 , and action_type = 2, which means to sale shares but there's currently no shares? It seems that you...

If you are claiming a Discrete action space, I would expect something like ``` if action_type == 1: #BUY elif action_type ==2: #SELL else: # HOLD ``` Why the action_type...

How to understand this? what is the exact purpose? thanks l lot delay_modifier = (self.current_step / MAX_STEPS) reward = self.balance * delay_modifier

Should I migrate and send a PR?

F string formatting is only available in python 3.6 and higher and will cause syntax error in lower python 3 versions. So I replaced F string with the formatting which...

I think you are using future data as an Observation and reinforcement learning is using that data to make profit that's why it's fitting the stock market line. I think...

Hello, I'm still getting acquainted with OpenAI Gym, so I'm not entirely sure about this issue, but it's possible that for each step, the _next_observation method is sending the next...

First of all thank you for writing those articles. I was searching for a stock simulating system similar to gym. In your article you have given a good explanation of...

Run main in /notadamking/Stock-Trading-Environment Google colab report error. ![image](https://github.com/notadamking/Stock-Trading-Environment/assets/112242664/8a809240-9062-4e49-9a5b-a118e495080f) Expect to run smoothly env.StockTradingEnv Thanks!