An open API service indexing awesome lists of open source software.

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

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.txt

2. 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 graphs


To 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)