An open API service indexing awesome lists of open source software.

https://github.com/andyklimczak/gonks


https://github.com/andyklimczak/gonks

bitcoin cli-app finance stocks

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Gonks

CLI app to display stonks

Gets stock data from [finnhub](http://finnhub.io)

```
SYMBOL PRICE $ CHANGE % CHANGE
AAPL 118.69 -0.34 -0.29%
DIS 127.46 0.50 0.39%
SPY 350.16 -0.08 -0.02%
```

## Example config

Create a `.gonks.json` file in home directory
```
{
"api_key": "abc-123",
"stocks": [
"AAPL",
"SPY",
"DIS"
]
}
```

## Build executable

Build with `go build` and copy the executable to a $PATH location

```
$ go build
# cp ./gonks /usr/local/bin/
```