Skip to content

Latest commit

 

History

History

Robinhood Auto-Stock Trader - Trading Bot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
This is the code from the YouTube series "Robinhood trading bot - How to Build a Robinhood auto-stock trader in python"

If you would like to see the videos where I write and discuss how everything works:
part 1: https://www.youtube.com/watch?v=vLqIpWkUSIE&t=24s
part 2: https://www.youtube.com/watch?v=-JTkNoIayR0
part 3: https://www.youtube.com/watch?v=kgarr-1vvIM&t=1774s
part 4: https://www.youtube.com/watch?v=1I1guNQxkeM
part 5: https://www.youtube.com/watch?v=ZSUoW3L4XiQ
part 6: https://www.youtube.com/watch?v=Mx7A6EjbtZU&t=121s
part 7: https://www.youtube.com/watch?v=PlVH0sssX_E

To run the code:
1. place all files in the same folder 
2. place your USERNAME and PASSWORD to "config.py"
3. modify "trade_strat.py" to your personal trading strategy
4. modify the "get_stocks()" function in the "trader.py" file with your stocks to watch
5. un-comment the "sell()" and "buy()" functions in the "trader.py" file when you are ready to trade on the live market

Thank you and please subscribe!
https://www.youtube.com/channel/UCvomSEbQQsvqEBPdaYBxQlQ

-- UPDATE: 6/25/21 --
Due to users receiving a 404 Error from trade_strat.py in the get_historical_prices() function. Some lines have been updated to the newer version of robin_stocks
updated files:
     - trader.py
     - trade_strat.py