ticker_cli

Shows you the company price from the ticker symbol. $ ticker_cli <exchange> <symbol>

e.g

$ ticker_cli US TSLA


$€£¥$€£¥$€£¥$€£¥$€£¥$€£¥
Tesla, Inc.
Price: USD 883.09
Last change:  0.26%
$€£¥$€£¥$€£¥$€£¥$€£¥$€£¥


$ ticker_cli ASX APT


$€£¥$€£¥$€£¥$€£¥$€£¥$€£¥
Afterpay Limited
Price: AUD 146.00
Last change:  1.77%
$€£¥$€£¥$€£¥$€£¥$€£¥$€£¥


How to build an executable:

Navigate inside the project dir.

Assuming you have Go installed.

Using Gox to make a binary file.

  1. $ go get github.com/mitchellh/gox

  2. Execute the following command as per your platform & arch.

    • for linux: gox -osarch="linux/amd64"
    • for mac: gox -osarch="darwin/amd64"
    • for windows: gox -osarch="windows/amd64"
    • Other than above?

You'll find the binary file in the root dir of the project.