Skip to main content

Unofficial Robinhood Python API...forked by HenryFBP to update an outdated PyPI package

Project description

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

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

pyrhhfbp-2.0.2rc0.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrhhfbp-2.0.2rc0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file pyrhhfbp-2.0.2rc0.tar.gz.

File metadata

  • Download URL: pyrhhfbp-2.0.2rc0.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.7 Windows/10

File hashes

Hashes for pyrhhfbp-2.0.2rc0.tar.gz
Algorithm Hash digest
SHA256 5228382345b975630eaa1a765243409e8604286b26ed1e97cc66f0164d7ba0a1
MD5 36033abf92f75c70b7fe0ba2bab270ae
BLAKE2b-256 8f7c864df31c38a0f9254a6a48a2f5f065e07466762a564adddde4f67a6ce73a

See more details on using hashes here.

File details

Details for the file pyrhhfbp-2.0.2rc0-py3-none-any.whl.

File metadata

  • Download URL: pyrhhfbp-2.0.2rc0-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.7 Windows/10

File hashes

Hashes for pyrhhfbp-2.0.2rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 26c739fa63b1e6ff200723fcc0c7eafff9cc05c38bc18a7f6b1ce3483e8f2ed6
MD5 0f38320bcbb12bd4fcb7b29a1aabf281
BLAKE2b-256 7ef56caa7f23d99c688ec10f304e4f26c03e1df88145304d63dc953925b79680

See more details on using hashes here.

Supported by

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