- Notifications
You must be signed in to change notification settings - Fork1
Trading bot for Robinhood accounts
License
txavier/RobinhoodBot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Trading bot for Robinhood accounts
For more info:https://medium.com/@kev.guo123/building-a-robinhood-stock-trading-bot-8ee1b040ec6a
5/1/19: Since Robinhood has updated it's API, you now have to enter a 2 factor authentication code whenever you run the script. To do this, go to the Robinhood mobile app and enable two factor authentication in your settings. You will now receive an SMS code when you run the script, which you have to enter into the script.
This project supports Python 3.7+
To Install:
git clone https://github.com/txavier/RobinhoodBot.gitcd RobinhoodBot/pip install -r requirements.txtcp config.py.sample config.py# add auth info and watchlist name to monitor after copying
To Run:In RobinHood create a watchlist named "Exclusion". This will be the watchlist that you will use to tell the bot to ignore the stock tickers contained within.
cdRobinboodBot/robinhoodbot (Ifoutsideofrootdirectory)python3main.py
To loop: 1 once an hour
cdRobinboodBot/robinhoodbot (Ifoutsideofrootdirectory)./run.sh# uses bash
- Added @cache to def get_name_by_symbol(symbol):
- Added @cache to def get_name_by_url(url):
- Added @cache to def get_symbol_by_url(url):
- Added None Parameter to orderAfterwards, be sure to run /> pip install .
About
Trading bot for Robinhood accounts
Resources
License
Stars
Watchers
Forks
Packages0
Languages
- Python99.6%
- Shell0.4%