Skip to content
项目

关于

使用非官方 Robinhood API 进行交易的 Python 框架

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
robinhood-logo

pyrh - Unofficial Robinhood API

Build Status Coverage Documentation Status PyPI Version PyPI - Downloads License Code Style Help Wanted

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

Please note this project is stable and in maintenance mode but is happy to accept 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

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.

Related

探索相关项目

加载中…