Skip to content
Aka "Pyreto Pyfolios"-- Example programs for barebones "quick and dirty" algorithmic trading with the Robinhood API.
Python
Branch: master
Clone or download
Latest commit 32f8340 Jan 31, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Prepare for display Jan 24, 2017
README.md Minor updates Feb 1, 2017
Robinhood.py Prepare for display Jan 24, 2017
__init__.py Prepare for display Jan 24, 2017
background.py Prepare for display Jan 24, 2017
requirements.txt Prepare for display Jan 24, 2017
shot1.png Prepare for display Jan 24, 2017
trade_history_downloader.py Prepare for display Jan 24, 2017
view_portfolio.py Minor updates Feb 1, 2017

README.md

Robin-Folios

interface screenshot

  • Example programs for barebones, "quick and dirty" automated trading and portfolio management with the Robinhood broker API.
  • This project is meant to show how anyone with a bit of programming knowledge these days can try out and explore simple algorithmic trading strategies, using available online resources, at no cost.
  • Original "Robinhood.py" library courtesy of https://github.com/MeheLLC/Robinhood

Automated Trading

  • background.py contains an example implementation of a premarket gainer momentum-based strategy. The strategy shown can be run in the background and will fetch top premarket gainers from the specified websites, place orders for those gainers, and close those positions the next day.

View Portfolio

  • view_portfolio.py contains code for a comprehensive and interactive view of your Robinhood portfolio, including:
    • Average buy prices
    • Quantities
    • Current prices and totals
    • Security names
    • 5/15/30/50/100-day Simple Moving Averages (MA)
    • Flags for current price being above/below those MA's
    • Portfolio weights ($/%)
    • Unrealized Profits/Losses ($/%)
    • Sorting by attributes
    • and more
You can’t perform that action at this time.