aiorobinhood
Thin asynchronous wrapper for the unofficial Robinhood API.
Why?
- Supports automated trading strategies on Robinhood
- Supports concurrency using asynchronous programming techniques
Getting Started
import asyncio
import os
from aiorobinhood import RobinhoodClient
username = os.getenv("ROBINHOOD_USERNAME")
password = os.getenv("ROBINHOOD_PASSWORD")
async def main():
async with RobinhoodClient(timeout=1) as client:
await client.login(username, password)
# Buy $10.50 worth of Apple
await client.place_market_buy_order("AAPL", amount=10.5)
# End session
await client.logout()
if __name__ == "__main__":
asyncio.run(main())
Dependencies
License
aiorobinhood is offered under the MIT license.
Release files for aiorobinhood 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiorobinhood-2.1.0.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiorobinhood-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / aiorobinhood-2.1.0.tar.gz
| Download URL | aiorobinhood-2.1.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
690e04747226be38e18a4c7f334e92a3ddf9589ab9e778987793a75923eef9d8
|
|
BLAKE2b-256 checksum How to use checksums |
f4ecaa9eab5916eef5770c6c21c1a817595974ef1faa004a6ae69d83e6abc749
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8
|
Release files / aiorobinhood-2.1.0-py3-none-any.whl
| Download URL | aiorobinhood-2.1.0-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
132e2c96876f901a9968339a6a48f3996134052f4e85178c68db6d7ca64bc447
|
|
BLAKE2b-256 checksum How to use checksums |
2442fb795bebf6aa4c76d11055c8e5845c569bf144c361c1a464a252761f1e60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8
|