mq - get stock market quotes
0.0.1
Summary
mq is a command line tool for getting market quotes
$ mq -s GOOG,TSLA,BTC,AAPL
Symbol Price ($) Change today (%)
------ --------- ----------------
GOOG 724.12 -0.16%
AAPL 100.41 +0.79%
TSLA 225.12 +2.52%
BTCUSD=X 452.05 +0.90%
Installation
mq requires the Go Tools (v1.6+ tested, but others are probably fine). Instructions are here for installation.
make
builds the binary and make install
places it on your path.
$ git clone git@github.com:zallarak/mq.git
$ cd mq
$ make && make install
Usage
mq -s <COMMA SEPERATED SYMBOLS> -f <FILE OF NEWLINE SEPERATED SYMBOLS>
Other stuff
Contributions are welcome.
Future plans for development:
- Better error handling
- Add other market data providers (currently, Yahoo Finance is queried)