crypto-ml-alerts
Fetch the alerts from crypto-ml.com
Install
npm install --global crypto-ml-alerts
crypto-ml-alerts
Editions
This package is published with the following editions:
crypto-ml-alerts
aliasescrypto-ml-alerts/source/index.js
crypto-ml-alerts/source/index.js
is Source + ESNext + Require
Older environments may need Babel's Polyfill or something similar.
Usage
Once installed, run it via the command line like so:
env TZ=Etc/UTC CRYPTO_ML_USERNAME=USERNAME CRYPTO_ML_PASSWORD=PASSWORD crypto-ml-alerts
This will then return an array where each entry has the following properties:
when
- today, yesterday, or previousdate
- YYYY-MM-DDcurrency
- the cryptocurrency codeaction
-SELL
,HOLD
, orBUY
price
- the price at the time of the alert
You can watch what it is doing by setting CRYPTO_ML_DEBUG=true
, like so:
env TZ=Etc/UTC CRYPTO_ML_DEBUG=true CRYPTO_ML_USERNAME=USERNAME CRYPTO_ML_PASSWORD=PASSWORD crypto-ml-alerts
You can also use it programatically via:
'use strict'const fetch ={tryconst signals = awaitconsolecatch econsoleprocess}
History
Discover the release history by heading on over to the HISTORY.md
file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Backers
Maintainers
No maintainers yet! Will you be the first?
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
License
Unless stated otherwise all works are:
- Copyright © 2018+ Benjamin Lupton
and licensed under: