mq

command module
v0.0.0-...-eb42961 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2016 License: MIT Imports: 11 Imported by: 0

README

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)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL