Skip to content

Breaking Changes - Added new features

Compare
Choose a tag to compare
@chrisleekr chrisleekr released this 14 Mar 01:31
· 291 commits to master since this release

New features

  • Breaking changes Re-organise configuration structures
  • Apply trailing buy (chase-stop-loss-limit) order for buy signal as well
  • Added more candle periods - 1m, 3m and 5m
  • Allow disabling local tunnel

Breaking Changes

As I introduce a new feature, I did lots of refactoring the code including settings. If the bot version is lower than the version 0.0.57, then the update will cause lost your settings and the last buy price records. You must write down settings and the last buy price records and re-configure after the upgrade.

If experiences any issue, simply delete all docker volumes/images and re-launch the bot.

How to update

If using docker-compose.yml

$ git pull
$ docker-compose up -d --build

If using docker-compose.server.yml

$ git pull
$ docker-compose -f docker-compose.server.yml pull
$ docker-compose -f docker-compose.server.yml up -d

If using docker-compose.rpi.yml

$ git pull
$ docker build . --build-arg NODE_ENV=production --target production-stage -t chrisleekr/binance-trading-bot:latest
$ docker-compose -f docker-compose.rpi.yml up -d