notadamking / Stock-Trading-Visualization

A simple, yet elegant visualization of our stock trading RL agent environment.
MIT License
212 stars 110 forks source link

Enhancements #2

Open Draichi opened 5 years ago

Draichi commented 5 years ago

Hello bro, After doing some changes I could make the bot beat the market by a small margin:

There is a lot of work to do but the main changes are:

To train the agent in this images I used PPO with learning rate 5e-5 trained over 1.2 million timesteps with ourly data from 2019-04-19 16:00:00+00:00 to 2019-04-28 05:00:00+00:00 and then to evaluate I used data from 2019-04-28 06:00:00+00:00 to 2019-05-06 20:00:00+00:00.

You can see the whole code in this fork

Nice project mate, Thanks

Usmaniatech commented 5 years ago

I have cloned the repo. How do I run this so I can see these visualizations ? @Draichi

Draichi commented 5 years ago

@Usmaniatech you can clone this project and follow the instructions on the readme. If you face a problem you can open an issue, we are working in a new version of it

searchlink commented 4 years ago

@Draichi How to start your project Stock-Trading-Visualization?

tyronehunt commented 4 years ago

@Draichi - thanks for the updates to this! However when I clone the repo and run main.py the vizualisation has the bot never buying/selling - it just flat lines at 10,000. I also note that you have functions.py, vars.py, rollout.py and train.py which don't seem to be explicitly called anywhere in main.py / StockTradingEnv.py or StockTradingGraph.py. Any help would be much appreciated!?

Draichi commented 4 years ago

@tyronehunt @searchlink try this one https://github.com/Draichi/T-1000