A Python wrapper around the Robinhood API
Project description
Robinhood API Library
Introduction
This library aims to create simple to use functions to interact with the Robinhood API. This is a pure python interface and it requires Python3.
Installing
There is no need to download these files directly. This project is published on PyPi so it can be installed by typing into terminal:
>>> pip install robin_stocks
Example Usage
In your python code write:
>>> from robin_stocks import robin_stocks >>> r = robin_stocks() >>> login = r.login('joshsmith@email.com','password') >>> my_stocks = r.build_holdings()
This will build a dictionary called “my stocks” containing symbols of all the stocks you hold as the keys, and another dictionary containing important information about the stocks as the items.
Functions Contained
login
logout
get_user_profile
get_investment_profile
get_basic_info
get_international_info
get_employment_info
get_additional_info
get_quotes
get_latest_price
get_instruments_by_symbols
get_instruments_by_url
query_instruments
get_positions
get_owned_positions
get_portfolios
get_accounts
get_dividends
get_total_dividends
get_name_by_symbol
get_name_by_url
get_documents
download_document
download_all_documents
get_historicals
get_all_watchlists
get_watchlist_by_name
post_symbols_to_watchlist
delete_symbols_from_watchlist
get_notifications
get_markets
get_wire_transfers
get_all_orders
get_all_open_orders
get_order_info
query_orders
cancel_all_open_orders
cancel_order
build_holdings
build_user_profile
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
Built Distribution
Hashes for robin_stocks-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fae40db1f5d7e83a0ca6acb3ceda049ffee9c005a3e1874f2d8c32d769d46935 |
|
MD5 | 6fe58f9788e6009435a255ca2ff442af |
|
BLAKE2b-256 | 66143139d92012f223aa5b10e1e8cd8289f3f914cb84843acdcecabbb15f1c58 |