项目
在 GitHub 查看
anilshanbhag/RobinhoodShell
关于
使用 Robinhood 交易股票的命令行 shell
商业与金融实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Robinhood Shell
Robinhood Shell is a command line shell for trading stocks using Robinhood.

Commands Supported
l: Lists your current portfoliob <symbol> <quantity> <price>: Submits a limit order to buy stocks of ats <symbol> <quantity> <price>: Submits a limit order to sell stocks of atq <symbol>: Get quote (current price) for symbolq <symbol> <call/put> <strike_price> <(optional) expiration_date YYYY-mm-dd>: Get quote for option, all expiration dates if none specifiedo: Lists all open ordersc <id>: Cancel an open order identified by [ of a open order can be got from output ofo]bye: Exit the shell
Setup
If you don't have a Robinhood account, sign up for Robinhood. It is a free stock trading platform. Use my referral link to sign up and get one free stock :)
Before you begin, make sure you have Python3 installed. Robinhood shell only works with python3. Some of the functionality is broken on python2.7
- Download Robinhood Shell by downloading the zip file (link) OR by using git
git clone https://github.com/anilshanbhag/RobinhoodShell.git
cd RobinhoodShell
- Install the dependencies
pip install -r requirements.txt
- Create and save your username/password in the config file
cp config.py.sample config.py
# Edit config.py - replace username/password with your real username/password
# Set CHALLENGE_TYPE = 'sms' or 'email' depending on how you want to do 2FA
You are good to go. Start the shell by
chmod +x shell.py
./shell.py
Credits
The shell builds on Robinhood Python API wrapper by Jamonek
Disclaimer
Robinhood Shell is not associated with the Robinhood app or endorsed by it.
探索相关项目
加载中…