Crypto Bot is a bot in JavaScript to get the indicator data for sereval cryptocurrency coins.
- Rename the
.env.template
to.env
, and replace it with your values
API_URL=https://testnet.binance.vision/api
API_KEY=xxxx
SECRET_KEY=xxxx
CRAWLER_INTERVAL=10000
PROFITABILITY=1.05
SYMBOL=BTCUSDT
Is a express.js application, it connect to the binance api and get the values.
With docker
-
Run the container:
$ docker-compose up
Run the node directly
-
Add the
size-limit
section and thesize
script to yourpackage.json
:$ npm install $ npm run start