Skip to content

deptrai/crypto-trading-bot

 
 

Repository files navigation

Crypto Trading Bot

Build Status

A work in progress Cryptocurrency for common exchanges like Bitfinex and Bitmex. As most trading bots just provide basic buy and sell signals they provide many stuff to get profitable eg exchange orders like stop-losses or stop-limits are not supported by main bots. Also the limitation of fixed timeframe and technical indicators must be broken

Not production ready only basic functionality

Features

  • Fully use Websocket for exchange communication to react as fast as possible on market
  • Multi pair support in one instance
  • sqlite3 storage for candles, tickers, ...
  • Webserver UI
  • Support for going "Short" and "Long"
  • Signal browser dashboard for pairs
  • Slack and email notification

Technical stuff and packages

How to use

Install packages

npm install

Create instance file for pairs and changes

cp instance.json.dist instance.json

Provide a configuration with your exchange credentials

cp conf.json.dist conf.json

Create a new sqlite data base

sqlite3 bot.db
# use bot.sql scheme to create the tables

Lets start it

node index.js trade

Webserver

Some browser links

Webserver UI

Backtesting

node index.js backtest -s bitfinex.EOS-USD -p 15m

Tests

npm test

Related Links

Trading Bots Inspiration

Other bots with possible design pattern

Strategies

Some strategies based on technical indicators for collection some ideas

About

Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, ... (public edition)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 87.2%
  • HTML 12.8%