https://github.com/thevickypedia/robinhood_monitor
Stock monitoring application to get accurate alerts from Robinhood using pyrh
https://github.com/thevickypedia/robinhood_monitor
investment-portfolio robinhood-api
Last synced: 2 months ago
JSON representation
Stock monitoring application to get accurate alerts from Robinhood using pyrh
- Host: GitHub
- URL: https://github.com/thevickypedia/robinhood_monitor
- Owner: thevickypedia
- License: mit
- Created: 2020-05-10T17:01:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T05:49:08.000Z (about 1 year ago)
- Last Synced: 2025-02-19T12:12:26.986Z (3 months ago)
- Topics: investment-portfolio, robinhood-api
- Language: Python
- Homepage: https://pypi.org/project/pyrh/
- Size: 3.62 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stock Monitor
Get a report of your investments from Robinhood along with graphs for previous week stock trend.Click to visit the AWS version [Stock Hawk](https://github.com/thevickypedia/stock_hawk)
## Setup
1. git clone this repository
2. Run this command in your terminal to install necessary packages
cd stock_hawk/lib && pip3 install -r requirements.txt2. Make sure you add the following env variables
* user - Robinhood login email address
* pass - Robinhood login password
* qr - Robinhood MFA QR code
* ACCESS_KEY - AWS login access key
* SECRET_KEY - AWS secret key
* SENDER - sender email address (verified via AWS SES)
* RECIPIENT - receiver email address (verified via AWS SES)Optional: (If you'd like to setup whats app notifications else skip these, app will still run):
* SID - S-ID from twilio
* TOKEN - Token from twilio
* SEND - sender whats app number (fromat - +1xxxxxxxxxx)
* RECEIVE - receiver whats app number (fromat - +1xxxxxxxxxx)Optional: (If you'd like to receive graphs certain profit or loss):
* graph_min - Minimum value below which you'd like to generate graphs
* graph_max - Maximum value above which you'd like to generate graphsTo use [qr_code](https://github.com/thevickypedia/robinhood_monitor/blob/master/robinhood.py#L180) you must enable Two-Factor Authentication. Follow steps:
* Login to your Robinhood Web App.
* Go to Account -> Settings or click [me](https://robinhood.com/account/settings)
* Turn on Two-Factor Authentication.
* Select “Authentication App”
* Click “Can’t Scan It?”, and copy the 16-character QR code.Alternatively you can also run this code without Two-Factor Authentication but it will require you to enter the Verification code each and every-time. To do this simply remove the qr_code part [here](https://github.com/thevickypedia/robinhood_tracker/blob/master/robinhood.py#L30)
You can also change the way you receive validation code from email to sms by including challenge_type="sms" in your [login](https://github.com/thevickypedia/robinhood_tracker/blob/master/robinhood.py#L30)
Click to learn more about [pyrh](https://pypi.org/project/pyrh/)
## License & copyright
© Vignesh Sivanandha Rao, Robinhood Monitor
Licensed under the [MIT License](LICENSE)