Skip to content
Bitcoin chart for the terminal as command line util
Branch: master
Clone or download
Latest commit c45e083 Aug 22, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src update coin list api url Aug 22, 2018
.eslintrc.yml set lint fp/no-class off Dec 22, 2017
.gitignore
.travis.yml user defined coin by providing coin code as param Aug 8, 2017
COINS.md Create COINS.md Aug 13, 2017
LICENSE Initial commit Jun 30, 2017
README.md add minimum node version badge Jul 6, 2018
bitcoin-chart-cli.png add project logo Dec 18, 2017
index.js experimental bitfinex live price feature Mar 30, 2018
package.json update axios dependency to latest Jun 20, 2018
test.sh dynamic decimal places based on number size Dec 9, 2017
yarn.lock update axios dependency to latest Jun 20, 2018

README.md

bitcoin-chart-cli

npm License: MIT License: MIT Build Status Issue Count Known Vulnerabilities dependencies Status

Bitcoin chart for the terminal as command line util.
For a list of supported cryptocurrencies see coins.

Requirements

  • node 8.0 or higher
  • 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

Experimental Bitcoin Live Price Feature

bitcoin-chart-cli --live

Prints a chart based on bitfinex live price values. The price is updated on every bitfinex trade, up to multiple times per second. This is as live as it can be. Most platforms provide 1 min candles as minimum timeframe. This feature allows you to see intra minute price changes within seconds and milliseconds. Please note that this feature does not work together with conky, since it requires a permanent connection and does not exit (like ncurses applications).

You can’t perform that action at this time.