Manage your Alpaca portfolio from the comfort of your terminal!
Good when you want to trade inconspicuously (at work, at school, on a date), or if you're just a nerd like me.
You are responsible for your Alpaca account, and for using this software responsibly. Make sure that you know what a command will do before you run it. This tool is not actively maintained, and was created only for my own personal use and amusement, and is distributed in the hope that others might find it interesting. It does not come with safety features and has no guarantees of correctness. It's provided without warranty, etc. You have no right to sue me over any issues with this software.
Make sure you have Node.js installed, and then run:
npm install -g alpaca-cli
This will install the alpaca
command globally.
Get an api key from https://alpaca.markets, and configure your alpaca cli:
alpaca configure --id=<key-id> --secret=<secret-key>
alpaca <command>
commands:
configure configure your alpaca cli installation
buy buy a stock
sell sell a stock
report display a report of your current portfolio
Run alpaca help <command>
for help with a specific command.