What Robinhood is Missing
I’ve really enjoyed trading with Robinhood (NO FEES) these last few months, but viewing some metrics in their web UI and mobile app take too many clicks. For one, determining my percent return requires three clicks for each Stock position. This is too slow when you want to be quickly informed on when to make quick exits.
The CLI Tool
Preferably, I wanted a quick and dirty CLI tool in Python to crunch these numbers for me. I ended up finding a great open source Python framework to interact with Robinhood’s backend API and decided to make some tweaks to it to support:
- Streamlined Multi-factor Auth Login
- Improved Security with credentials as environment variables
- Calculate and display percent return on each position
You can find my working Fork here: https://github.com/parkergordonio/Robinhood
Running the Tool
Executing Script + Login Prompt + MFA Code:
(I have a bash/zsh alias here “robin” pointing to the script get-metrics.sh)
Metrics Output:
By sorting each position on this newly generated percent return field, your eyes are quickly drawn to the positions that you may want to exit soon.

Happy trading!
Note: There are plans to have this work merged back into source repo in some fashion.