gohowmuch

command module
v0.0.0-...-52ebead Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Go How Much?

Inspired by https://github.com/monodyle/howmuch

Crypto coin price tracking on terminal.

Built with WeBuild

Install

Source

  1. Requirement
Go 1.16
  1. Build binary
go get;
go build -o gohowmuch;
  1. Run gohowmuch
./gohowmuch

Linux

Mac

Windows

Others

Usage

Type from commandline

gohowmuch --symbol=doge

Support --symbol and --symbolbase. Change the symbol that avaiable on https://www.binance.com/en/markets

--symbol default value is "btc".

--symbolbase default value is "usdt".

Example:

gohowmuch --symbol=btc --symbolbase=usdt
gohowmuch --symbol=doge --symbolbase=btc
gohowmuch --symbol=shib --symbolbase=doge

Open multiple views

Multi-views

Suggest to use tmux. Example config tmux_traderview_config.sh. Or

#!/bin/bash

symbols=("btc" "eth" "doge" "xrp")
base="usdt"
app_path="./gohowmuch"

for symbol in "${symbols[@]:1}"; do
	tmux split-window "$app_path --symbol=$symbol -symbolbase=$base";
	tmux select-layout tile;
done
tmux select-pane -t 0;

build/gohowmuch_darwin_amd64 --symbol=${symbols[0]} -symbolbase=$base

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址