@adekoreday/crypto-dip-alert
A CLI tool that notifies you, when the price of a crypto goes down past a threshold
Last updated 14 days ago by adekoreday .
MIT · Original npm · Tarball · package.json
$ cnpm install @adekoreday/crypto-dip-alert -g
SYNC missed versions from official npm registry.

NodeJS Crypto Dip Alert

A CLI tool to monitor the prices of crypto, and notify you when it drops past a threshold you specify.

Installation and Usage

  • Make sure you have NodeJS installed.
  • Run npm i -g crypto-dip-alert or yarn global add crypto-dip-alert to install to your computer.
  • Run crypto-dip-alert -e or crypto-dip-alert --env to view and edit the .env file according to the instructions given here.
  • Run crypto-dip-alert with the right options.

CLI Options

This CLI tool has the following synopsis:

Usage: crypto-dip-alert [options]

Options:
  -c, --coins <coins>  A comma-separated list of coins to track (default: ["BTC","ETH"])
  -p, --price <price>  A price value to monitor (default: "0.01")
  -t, --type <type>    "percent" or "cents" (default: "percent")
  -l, --list           List available Cryptos
  -e, --env            View and Edit the .env file
  -h, --help           display help for command

Example 1.

crypto-dip-alert -c ETH,BTC,USDC,EOS

to track ETH, BTC, USDC and EOS coins.

Example 2.

crypto-dip-alert -c ETH -p 10 -t percent

to track a 10% dip in the price of ETH.

Example 3.

crypto-dip-alert -l

to list all symbols for available cryptos you can track.

Example 4.

crypto-dip-alert -e

to open/edit the .env file.

Notifications

This script is written to make the notification system configurable.

By default, it comes with the following notifications:

  • Console (Terminal Output)
  • Mailgun (Uses the Mailgun service to send emails)
  • SMTP (Uses SMTP to send emails)
  • Telegram (Uses Telegram chat)

See Env Setup for more.

Current Tags

  • 0.1.0                                ...           latest (14 days ago)

2 Versions

  • 0.1.0                                ...           14 days ago
  • 0.0.9                                ...           14 days ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 21
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |