Skip to content
/ ggs Public

CLI tool written in Golang to display stocks price in real time

Notifications You must be signed in to change notification settings

mikah13/ggs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Banner

go-get-stock

A CLI tool written in Golang to display stocks price in real time using Yahoo Finance API

Introduction

GGS (Go Stock Viewer) is a command-line tool written in Go for viewing stock prices and managing a watchlist of stocks. It allows you to quickly retrieve stock prices and display them in a tabular format. You can also manage your watchlist by adding or removing tickers as needed.

Example

Installation

To use GGS, follow these steps:

  1. Clone the repository:
git clone https://github.com/mikah13/ggs
  1. Navigate to the project directory:
cd ggs
  1. Build the executable:
go build .

Usage

Once you have built the executable, you can use the following command-line options:

  • ./ggs get [ticker]: Display stock prices in a table. You can also search for multiple tickers using semicolon "," as the delimiter
  • ./ggs get-all: Display the watchlist in a table.
  • ./ggs list: Display an editable list of all tickers in the watchlist.
  • ./ggs add [ticker]: Add a ticker to the watchlist.

For example: You can use get for a single or multiple tickers search

./ggs get MSFT
./ggs get AAPL,META

You can do the same with add command:

./ggs add MSFT
./ggs add AAPL,META,TSLA

About

CLI tool written in Golang to display stocks price in real time

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages