Skip to content

This project uses Deep Q learning on stock market and agent tries to learn trading. I want to check if the agent can learn to read tape. The project is dedicated to my Hero in life great Jesse Livermore.

Notifications You must be signed in to change notification settings

amoliu/reinforcement-trading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

reinforcement-trading

This project uses Deep Q learning on stock market and agent tries to learn trading. I want to check if the agent can learn to read tape. The project is dedicated to my hero in life great Jesse Livermore.

Process:

  1. Collect data for one stock which is highly volatile and provide enough liquidity and give agent buy and sell depth and ask agent to predict whether to buy stocks or not.
  2. If agent say Yes, check price after 2 minutes(debateable) and see if the price is greater than buying price (limit order) + transaction fee. If it is the agent gets positive reinforcement which is difference in price otherwise it gets negative. Similarly the agent will get reinforcement if it says no to buying stock. (this is also debateable)

Steps: a) Make scraper to start collecting data.

Corner cases:

  1. Script should not run after the market is closed, the logic should check that.

FOR THE TIME, I HAVE MOVED THIS REPO TO PRIVATE (BITBUCKET) BECAUSE A LOT OF MY LOGIN CREDENTIALS ARE THERE AT DIFFERENT PLACES, WILL MAKE IT LIVE ONCE I HAVE SOME SUCCESS and TIME TO CHANGE REPO FOR GENERIC PURPOSE.

About

This project uses Deep Q learning on stock market and agent tries to learn trading. I want to check if the agent can learn to read tape. The project is dedicated to my Hero in life great Jesse Livermore.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages