tick
$ tick -h
Usage: tick [symbols, ...]
Get stock prices and changes
-h, --help print help message
-i, --include include additional symbols
-r, --regular regular market hours only
$ tick VTI VXUS BND ARKK GME BTC-USD ETH-USD
VTI 208.76 1.80 (0.80%)
VXUS 63.22 -0.22 (-0.35%)
BND 84.58 -0.17 (-0.20%)
ARKK 129.00 1.20 (0.90%)
GME 218.60 11.54 (7.02%)
BTC-USD 56566.04 3540.92 (5.89%)
ETH-USD 1805.39 70.83 (3.78%)
Get stock prices and changes from your command line.
Based on ticker.sh
/
Tick on GitHub
Install
# Mac
$ brew install hughbien/tap/tick
# Linux
$ wget -O /usr/local/bin/tick https://github.com/hughbien/tick/releases/download/v0.1.2/tick-linux-amd64
$ chmod +x /usr/local/bin/tick
# Source (requires Crystal)
$ git clone https://github.com/hughbien/tick.git
$ cd tick
$ make
$ make install
For Mac, use Homebrew: brew install hughbien/tap/tick
For Linux, download the latest binary: tick-linux-amd64. MD5 checksum is b31ff0519db9d9751ae1cb050eafcf2b
To compile from source, you'll need Crystal installed first.
Then checkout the repository and run make && make install
Usage
$ echo 'export TICK="VTI VXUS BND BTC-USD"' >> ~/.bash_profile
$ tick # prices for symbols in TICK env var
$ tick GME # just the price for GME
$ tick -i GME # prices for TICK env var and GME
$ tick -r # regular market hours data only
After you set the TICK env var, get prices with tick.
Some other useful options:
tick --include GME— to get additional stock pricestick --regular— regular market hours data only