Skip to content

mgrahamjo/robinhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robinhook

Robinhook will automatically invest any available funds in your Robinhood account based on simple configurable rules. Works great in conjunction with automatic transfers.

Install

Prerequisites: node and git

git clone https://github.com/mgrahamjo/robinhook

Configure

Edit config.json to use your account number, which can be found on the account page in the Robinhood app. List the stocks you want to purchase, and optionally the percentage of available funds you want to allocate for each stock. Robinhook will evenly distribute available funds between any stocks which do not have a custom allocation.

{
    "account": "XXXXXXXX",
    "stocks": [
        {
            "symbol": "MSFT",
            "allocation": 50
        },
        {
            "symbol": "AMZN"
        },
        {
            "symbol": "GOOG"
        }
    ]
}

In this configuration, MSFT will get 50% of available funds, while AMZN and GOOG will each get 25%.

Run

From the robinhook project, run node .. Alternatively, execute the file run.command.

You will be prompted for your Robinhood username and password. These credentials are not stored anywhere.

About

Automated stock purchasing via Robinhood APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published