Skip to main content

Unofficial Robinhood Python API

Project description

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


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

Uploaded Source

Built Distribution

pyrh-2.1.2-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file pyrh-2.1.2.tar.gz.

File metadata

  • Download URL: pyrh-2.1.2.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Darwin/22.3.0

File hashes

Hashes for pyrh-2.1.2.tar.gz
Algorithm Hash digest
SHA256 ea383135260407773bb4563a690500676f3c2fb96e0521e0ae59934d1813718c
MD5 6769eff37b87013efeb7f76b09ede926
BLAKE2b-256 b2098c0e8581f699146d660a3b3a6d99af33e013990ad2e346eb72ccbb08bb42

See more details on using hashes here.

File details

Details for the file pyrh-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyrh-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Darwin/22.3.0

File hashes

Hashes for pyrh-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b17de97efac6c54dfb4cc2ebc1c4de510c20718f98b794c65aefcb36ae9d53b8
MD5 cc4bf711498f8c5a1337a57eed51b38b
BLAKE2b-256 0922bcd6aea176c926784593a4c3f31ee9e1343a697d00d847897f88367f757e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page