Skip to content

Shows you the company price from the ticker symbol.

Notifications You must be signed in to change notification settings

prashantwosti/ticker_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ticker_cli

Go

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.

About

Shows you the company price from the ticker symbol.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages