Bitcoin chart for the terminal as command line util
For a list of supported cryptocurrencies see coins
- node 8.0 or higher (need fancy syntax features thats why 8+)
- npm or yarn
# install
npm install bitcoin-chart-cli -g
# (alternative) install with yarn
yarn global add bitcoin-chart-cli
# run default
bitcoin-chart-cli
# run with options
bitcoin-chart-cli --coin ETH -d 360 -w 80 -h 20
bitcoin-chart-cli --help
Usage: index [options]
Options:
-V, --version output the version number
-d, --days <n> number of days the chart will go back
--hours <n> number of hours the chart will go back
--mins <n> number of minutes the chart will go back
-w, --width <n> max terminal chart width
-h, --height <n> max terminal chart height
-c, --coin <string> specify the coin e.g. ETH
-m, --currency <string> specify the trading pair currency (Default: USD)
--disable-legend disable legend text
-h, --help output usage information
bitcoin-chart-cli
Create terminal splits (tmux) with watch for live charts the unix way
watch -n 60 bitcoin-chart-cli --mins 30 --width 60
In combination with conky
conky.text = [[ ${execi 120 bitcoin-chart-cli --coin ETH -w 140 -h 15} ]];
More examples https://travis-ci.org/madnight/bitcoin-chart-cli