Skip to content

Software that uses both MACD and Signal MACD to measure influx and determine whether or not it's a good time to buy or sell a stock.

Notifications You must be signed in to change notification settings

johnbuts/Stock_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Biggest_Loser - This strategy purchases 8 - 10 of the biggest losers (largest percent loss) of the trading day at 4:00 p.m. and sells them at 5:57. This is done using the IEX trading API, and the Robinhood API. All of the stock info including stock prices and the tickers for all of the losers for that day come from IEX, and the Robinhood API is used for actually placing the buy and sell limit orders. 

Stock_Bot – This strategy sends a notification to my phone to purchase a stock once it’s MACD histogram value is decreasing for at least 50 minutes, and then goes up once during a 10-minute interval, so we know we are at a low. It also sends me a notification to sell off the stock once the MACD histogram value is increasing over that same period and goes down once during that same interval, so we know we are at a peak. Along with that, once the order is placed, we store the price that it was bought at. We use this to ensure a profit is made, and executing the sell If the current price is higher than when we bought it. The way we get the data is through the Robinhood API and a statistical analysis package called tulipy. In order for us to create MACD data, we must have access to the price of the stock over the last 26 days at 10 minute intervals. The prices we need at the interval we need them at is all provided to us by the Robinhood API. Finally using tulipy, we can construct our MACD data using their formula on all of the prices from Robinhood. 

About

Software that uses both MACD and Signal MACD to measure influx and determine whether or not it's a good time to buy or sell a stock.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages