Skip to content
Cryptocurrency Trading Bot Development Framework for the Binance exchange. Follow open NBT trading signals at
JavaScript HTML
Branch: master
Clone or download
jsappme Merge pull request #37 from mnkprs/patch-1
Update npm install command
Latest commit 22c669b Oct 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Merge branch 'master' into nazare Jun 10, 2019
Discord_button.png new version Jun 17, 2018
LICENSE Initial commit Jan 17, 2018 Update npm install command Oct 3, 2019
backtest.js v 0.2.0 Sep 19, 2019
index.html v 1.0 init commit Jun 10, 2019
nbt_diagram.png new diag Sep 19, 2019
package.json v 0.2.0 Sep 19, 2019
server.js datetime added Oct 1, 2019
trader.js v 0.2.0 Sep 19, 2019

Node Binance Trader NBT

Version 0.2.0

NBT is an open cryptocurrency trading bot development framework for the Binance exchange.

NBT includes 3 main JS scripts:

  • the server:

    • to track a selection of asset pairs and record all binance api data (candles, depths, trades) into a Postgres database.
    • to detect buy or sell signals
    • (optional) to send trading signals to the NBT Hub / Bitcoin vs. Altcoins to monitor performances and auto trade those signals (virtually or for real).
  • the trader:

    • this script allows you to auto trade the signals received from the NBT hub or your own server.
  • the backtest :

    • to backtest your strategies on the historical tick data (Postgres database) recorded by the server.


  • Git (see if it is already installed with the command: git --version)
  • Node.JS (see if it is already installed with the command: npm --version)

Installation 📦

git clone
cd node-binance-trader
npm i --unsafe-perm

Usage ⚡️

To start the server to save pair data, define strategies and emit trading signals:

npm run start

To start the auto trader to monitor strategies and signals received from the server or the NBT Hub:

npm run trader

To backtest strategies using the data recorded by the server:

npm run bt

Disclaimer 📖

I am not responsible for anything done with this bot.
You use it at your own risk.
There are no warranties or guarantees expressed or implied.
You assume all responsibility and liability.

Final Notes 🙏

Feel free to fork and add new pull request to this repo. If you have any questions/suggestions, or simply you need some help building your trading bot, or mining historical data or improving your strategies using the latest AI/ML algorithms, please feel free to contact me.

If this repo helped you in any way, you can always leave me a BNB tip at 0xf0c499c0accddd52d2f96d8afb6778be0659ee0c


Discord chat

You can’t perform that action at this time.