/stockCommandy

CLI tool that allows you to create a watchlist and query stocks

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Stock Commandy

Stock Commandy allows users to create their own watchlist and query that in a command line interface

If you have any feature requests, feel free to open up an issue and put your request there!

Setup

Clone the repo and add the stocks script to your path

Make sure that your permissions are set so that the script can create a ~/.stocks folder and ~/.stocks/stocksList.txt file

export PATH=$PATH:<path>/stockCommandy

Or you can use homebrew

brew tap savala/stockCommandy
brew install stockCommandy

If you'd like, you can go ahead and create an alias for stocks as well Within bashrc or zshrc or whatever you use

alias ss="stocks"

alt text

Get all your stocks

stocks

List tickers in your watchlist

stocks -list

Add a stock to your watchlist

stocks -add xyz

Query individual stock

You can query stocks in your watchlist or any stock in general

stocks -get xyz

Open up ticker in yahoo finance

stocks -open xyz

Delete stock from watchlist

stocks -rm xyz

Clean up your watchlist

stocks -clean