Skip to content

A script that can paper trade stocks on a daily basis in an attempt to out perform the market.

License

Notifications You must be signed in to change notification settings

vallme2003/stock-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StockBot

Author: Ryan Cullen

StockBot is a Python script for designing and testing your own daily stock trading algorithms.

Installation

Use the package manager pip to install matplotlib and yfinance from your command line.

pip install matplotlib
pip install yfinance

Usage

You will be asked to enter a ticker for the stock that you want to test the algorithm on.

If you want to modify the algorithm and design your own, you only need to change the Decide() method. That method takes three functions, and you can decide what those are or design your own inputs. My implementation uses moving averages and their derivatives/concavity (the class for which is set up for you to use in your own algorithm).

Roadmap

The goal for this script is of course for it to be as robust and generalized as possible. To do this, one idea is to use Reinforcement Learning to fine tune the thresholds on the fly. If you have experience with ML or deep learning I very much encourage you to make conributions!!

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

A script that can paper trade stocks on a daily basis in an attempt to out perform the market.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%