Skip to content

Latest commit

 

History

History
executable file
·
49 lines (35 loc) · 2.22 KB

README.md

File metadata and controls

executable file
·
49 lines (35 loc) · 2.22 KB

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

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

  3. 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 you must enable Two-Factor Authentication. Follow steps:

  • Login to your Robinhood Web App.
  • Go to Account -> Settings or click me
  • 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

You can also change the way you receive validation code from email to sms by including challenge_type="sms" in your login

Click to learn more about pyrh

License & copyright

© Vignesh Sivanandha Rao, Robinhood Monitor

Licensed under the MIT License