Skip to content

Python Framework to make trades with the unofficial Robinhood API

License

Notifications You must be signed in to change notification settings

gitscamI/pyrh

 
 

Repository files navigation

robinhood-logo

pyrh - Unofficial Robinhood API

Build Status Coverage Documentation Status PyPI Version PyPI - Downloads License Code Style Gitter

Python Framework to make trades with Unofficial Robinhood API. Supports Python 3.6+

Please note that parts of this project maybe non-functional / under rapid development

  • A stable release is imminent

Documentation: https://pyrh.readthedocs.io/en/latest/

Quick start

from pyrh import Robinhood

rh = Robinhood()
rh.login(username="YOUR_EMAIL", password="YOUR_PASSWORD")
rh.print_quote("AAPL")

How To Install:

pip install pyrh

Clone the repository and install jupyter capabilities.

$ git clone https://github.com/robinhood-unofficial/pyrh.git
$ cd pyrh
$ python --version # python 3.3+ for venv functionality
Python 3.7.6
$ python -m venv pyrh_env
$ source pyrh_env/bin/activate
(pyrh_env) $ pip install .[notebook]
(pyrh_env) $ cp .env.sample .env # update the values in here
(pyrh_env) $ jupyter notebook notebooks/example.ipynb

Now just run the files in the example.

Related

About

Python Framework to make trades with the unofficial Robinhood API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.0%
  • Jupyter Notebook 1.8%
  • Gherkin 0.2%