Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 938 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 938 Bytes

Crypto-bot

A Robot trading cryptocurrencies

Crypto Bot is a bot in JavaScript to get the indicator data for sereval cryptocurrency coins.

Setting up

  1. 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

Usage

JS Applications

Is a express.js application, it connect to the binance api and get the values.

With docker

  1. Run the container:

    $ docker-compose up

Run the node directly

  1. Add the size-limit section and the size script to your package.json:

    $ npm install
    $ npm run start