Skip to main content

aiorobinhood

build codecov downloads style

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)

Source distribution for aiorobinhood 2.1.0
File Size Uploaded
aiorobinhood-2.1.0.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiorobinhood 2.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.0.0

2 release files

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