Skip to content
alienbrett edited this page Mar 27, 2020 · 1 revision

Log into Ally Invest, go to the specific account page, click Tools->API

Tools

Fill out the API token application as a Personal Application

New Application

It's strongly recommended to store the keys in environment variables.

Details

To do this, insert the following into ~/.bashrc:

export ALLY_CONSUMER_KEY=XXXXXXXXXXXXXXXXXXXXXXXX
export ALLY_CONSUMER_SECRET=XXXXXXXXXXXXXXXXXXXXX
export ALLY_OAUTH_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXX
export ALLY_OAUTH_SECRET=XXXXXXXXXXXXXXXXXXXXXXXX

Optionally, if you want an account number auto-entered:

export ALLY_ACCOUNT_NBR=12345678

Clone this wiki locally