alpaca-cli
v0.2.0
Published
Manage your Alpaca portfolio from the comfort of your terminal!
Downloads
5
Maintainers
Readme
Alpaca CLI
Manage your Alpaca portfolio from the comfort of your terminal!
Good when you want to trade inconspicuously (at work, at school, in a boring meeting), or if you're just a nerd like me.
Warning
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 currently being developed 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.
Installation
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>
Usage
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.