Skip to content

james-yun/robinhood-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robinhood-api

PyPI version Publish to PyPI workflow

the unofficial Robinhood API (pre-alpha)

Installation

pip install robinhood-api

Authentication

The first time you log in, you will be prompted to verify your identity by entering a code send to your phone or email. This will generate an OAuth bearer token that will be stored in tokens.json. Subsequent logins will not require your credentials.

Usage

import robinhood


# you will be prompted for your username and password
robinhood.login()  

# check your stocks
print(robinhood.positions())

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT