https://github.com/andyklimczak/gonks
https://github.com/andyklimczak/gonks
bitcoin cli-app finance stocks
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andyklimczak/gonks
- Owner: andyklimczak
- Created: 2020-10-06T00:06:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-11T03:10:11.000Z (over 4 years ago)
- Last Synced: 2023-08-04T02:05:46.403Z (almost 2 years ago)
- Topics: bitcoin, cli-app, finance, stocks
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/
```