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
- 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
- node.js
- sqlite3
- technicalindicators
- tulipindicators - tulind
- twig
- express
- Bootstrap v4
- Tradingview widgets
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
Some browser links
- UI: http://127.0.0.1:8080
- Signals: http://127.0.0.1:8080/signals
- Tradingview: http://127.0.0.1:8080/tradingview/BTCUSD
node index.js backtest -s bitfinex.EOS-USD -p 15m
npm test
Other bots with possible design pattern
- https://github.com/DeviaVir/zenbot
- https://github.com/magic8bot/magic8bot
- https://github.com/askmike/gekko
- https://github.com/freqtrade/freqtrade
Some strategies based on technical indicators for collection some ideas
