Capwatch

Build Status Coverage Status Gem Version

Watch your cryptoportfolio in a console

Demo

Installation

$ gem install capwatch
cat <<EOT > ~/.capwatch
{
  "name": "Basic Fund",
  "symbols": {
    "MAID": 25452.47,
    "GAME": 22253.51,
    "NEO": 3826.53,
    "FCT": 525.67875,
    "SC": 4152770,
    "DCR": 453.22,
    "BTC": 8.219,
    "ETH": 166.198,
    "KMD": 19056.20,
    "LSK": 5071.42
  }
}
EOT
$ capwatch

Telegram

If you want to get portfolio notifications on demand to your telegram, you'll need:

  1. Create a telegram bot via BotFather
  2. Get the bot token
  3. Start capwatch with the bot token in hand

    $capwatch -e <bot_token>
    

Currently Capwatch supports only two commands

  • /watch - shows the entire portfolio
  • /cap - shows only the footer of the portfolio, e.g. summaries

Remember to start it on a server in a tmux window or as a daemon.

Fund Examples

Fund examples can be found here

Demo funds taken from www.bluemagic.info

Data is being processed from from http://coinmarketcap.com

Todo

  • [ ] Write Tests
  • [ ] Re-factor the table class