TheRinger / bitcoin-chart-cli

Bitcoin chart for the terminal as command line util

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bitcoin-chart-cli

npm License: MIT Build Status Issue Count Known Vulnerabilities dependencies Status bitHound Overall Score

Bitcoin chart for the terminal as command line util

For a list of supported cryptocurrencies see coins

Requirements

  • node 8.0 or higher (need fancy syntax features thats why 8+)
  • npm or yarn

Usage

# 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

Options

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

Examples

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

About

Bitcoin chart for the terminal as command line util

License:MIT License


Languages

Language:JavaScript 87.7%Language:Shell 12.3%