Socket
Book a DemoInstallSign in
Socket

crypto-dip-alert

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crypto-dip-alert

A CLI tool that notifies you, when the price of a crypto goes down past a threshold

0.1.2
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 30 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.