Unofficial Robinhood Python API
Project description
pyrh - Unofficial Robinhood API
Python Framework to make trades with Unofficial Robinhood API. Supports Python 3.8.1+
Please note this project is not currently actively maintained, but is accepting contributions
Documentation: https://pyrh.readthedocs.io/en/latest/
Quick start
from pyrh import Robinhood
rh = Robinhood(username="YOUR_EMAIL", password="YOUR_PASSWORD")
rh.login()
rh.print_quote("AAPL")
How To Install:
pip install pyrh
Running example.ipynb
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.8.1
$ 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyrh-2.1.2.tar.gz
(25.4 kB
view hashes)
Built Distribution
pyrh-2.1.2-py3-none-any.whl
(30.2 kB
view hashes)