Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

.. image:: https://i.imgur.com/74CYw5g.png :target: https://github.com/robinhood-unofficial/pyrh :alt: robinhood-logo


pyrh - Unofficial Robinhood API ###############################

.. image:: https://github.com/robinhood-unofficial/pyrh/workflows/build/badge.svg?branch=master&event=push :target: https://github.com/robinhood-unofficial/pyrh/actions?query=workflow%3Abuild+branch%3Amaster :alt: Build Status

.. image:: https://codecov.io/gh/robinhood-unofficial/pyrh/branch/master/graph/badge.svg :target: https://codecov.io/gh/robinhood-unofficial/pyrh :alt: Coverage

.. image:: https://readthedocs.org/projects/pyrh/badge/?version=latest :target: https://pyrh.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://img.shields.io/pypi/v/pyrh?style=plastic :target: https://pypi.org/project/pyrh/ :alt: PyPI Version

.. image:: https://img.shields.io/pypi/dm/pyrh?color=blue&style=plastic :target: https://pypi.org/project/pyrh/ :alt: PyPI - Downloads

.. image:: https://img.shields.io/github/license/robinhood-unofficial/Robinhood :target: https://github.com/robinhood-unofficial/pyrh/blob/master/LICENSE :alt: License

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black :alt: Code Style

.. image:: https://img.shields.io/gitter/room/J-Robinhood/Lobby :target: https://gitter.im/J-Robinhood/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge :alt: 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


.. code-block:: python

from pyrhhfbp import Robinhood

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

How To Install:


.. code-block::

pip install pyrhhfbp

How To Release to PyPI:


.. code-block::

poetry publish --build

Running example.ipynb_


.. _example.ipynb: https://github.com/robinhood-unofficial/pyrh/blob/master/notebooks/example.ipynb

Clone the repository and install jupyter capabilities.

.. code-block::

$ 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


  • robinhood-ruby <https://github.com/rememberlenny/robinhood-ruby>_ - RubyGem for interacting with Robinhood API
  • robinhood-node <https://github.com/aurbano/robinhood-node>_ - NodeJS module to make trades with Robinhood Private API
  • See the original blog post <https://medium.com/@rohanpai25/reversing-robinhood-free-accessible-automated-stock-trading-f40fba1e7d8b>_.

Metadata

Release files for pyrhhfbp 2.0.2rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrhhfbp 2.0.2rc0
File Size Uploaded Provenance
pyrhhfbp-2.0.2rc0.tar.gz 38.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrhhfbp 2.0.2rc0
File Interpreter ABI Platform
pyrhhfbp-2.0.2rc0-py3-none-any.whl Python 3 none any Details

Total release size: 67.9 kB

Release files / pyrhhfbp-2.0.2rc0.tar.gz

Download URL pyrhhfbp-2.0.2rc0.tar.gz
Size 38.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5228382345b975630eaa1a765243409e8604286b26ed1e97cc66f0164d7ba0a1
BLAKE2b-256 checksum
How to use checksums
8f7c864df31c38a0f9254a6a48a2f5f065e07466762a564adddde4f67a6ce73a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Windows/10

Release files / pyrhhfbp-2.0.2rc0-py3-none-any.whl

Download URL pyrhhfbp-2.0.2rc0-py3-none-any.whl
Size 29.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26c739fa63b1e6ff200723fcc0c7eafff9cc05c38bc18a7f6b1ce3483e8f2ed6
BLAKE2b-256 checksum
How to use checksums
7ef56caa7f23d99c688ec10f304e4f26c03e1df88145304d63dc953925b79680
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Windows/10

Security for pyrhhfbp 2.0.2rc0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page