Skip to content

salty2011/docker-gunbot

Repository files navigation

Gunbot Docker Edition for Synology NAS

Docker Pulls Docker Automated build Docker Build Status

✅ Compatible with Gunbot version : Gunbot v21 https://github.com/GuntharDeNiro/BTCT/releases

✅ Compatible with Synology DSM6.0, DSM7.0 (both on DS1019+)

Although this Docker Image has been tested on a Synology NAS, it will work essentially in any Docker-environment with the adjustment of the mount-point needed. I have provided a base-configuration under /config/ which I suggest you read and adjust. If you use the autoconfig provided, and once you have added your Binance credentials, the BOT will start trading. The only thing to adjust is your "TRADING_LIMIT" in config/config.js and your Telegram and Binance settings.

Detailed Gunbot documentation and support is available via https://wiki.gunthy.org/

Gunbot Docker File
Gunbot Trading Console via Webview


paypal 🍺 Please support me: Although all my software is free, it is always appreciated if you can support my efforts on Github with a contribution via Paypal - this allows me to write cool projects like this in my personal time and hopefully help you or your business.


I am a Gunbot Reseller and Binance Affiliate

You need at least a "Gunbot Standard" License to trade on Binance and use the provided autoconfig tool which automatically trades BTC-ALT coins for you. I am an offical Gunbot Reseller and you can purchase a license straight from the links below or via gunbot.at:

Gunbot Edition Price Link
Gunbot Starter BTC 0.0100 gunbot/promoStarter
Gunbot Standard BTC 0.0250 gunbot/promoStandard
Gunbot Pro BTC 0.0375 gunbot/promoPro
Gunbot Ultimate BTC 0.0625 gunbot/promoUltimate

(*) You can always upgrade to a higher license later - I can help you - contact me on Telegram @magicdude4eva

🏆 If you are new to Binance, I can share my affiliate link where both of us will earn 10% commission on trades.

Docker image with colorised output & Telegram Support

Gunbot Colorised Console Output via Docker
Gunbot Dockerfile with glibc and colorised output

Gunbot Telegram Notifications via Docker
Gunbot Dockerfile with Telegram Notifications

Setup On Synology

  1. If you have a mount-point /volume1/, create the directory /volume1/docker/gunbot/ and skip to Step 3)

  2. If you do not have /volume1/, adjust the mountpoints of /volume1/docker/gunbot/ in docker-compose.yml

  3. Copy docker-compose.yml, dockerignore and Dockerfile from this repo to your ./gunbot/-folder

  4. Adjust the timezone setting TZ=Europe/Vienna in docker-compose.yml and Dockerfile to your local settings

  5. Place your config.js into /config

  6. Adjust the download Link in Dockerfile for INSTALL_URL. The latest software can be found via: https://github.com/GuntharDeNiro/BTCT/releases

  7. and then execute:

cd /volume1/docker/gunbot/
docker build -t gunbot .
docker-compose up -d
docker logs -f gunbot

Updating Gunbot

From time to time I publish updates - mostly to adjust the Linux image or to include the latest Gunbot release. You can manually update by:

  1. Stop and delete the Gunbot-Container in Synology Docker
  2. Repeat Steps 6-7 above

Telegram Configuration

Notifications work by first creating a personal bot on Telegram, Gunbot then connects to this bot to push notifications to you.

This is how to create a bot:

  • Talk to @botfather. Create a new bot with the command /newbot and choose a name and username for your bot. Save the bot token shown.
  • Talk to @myidbot to see your Chat ID, save it.
  • Enable Telegram notifications for Gunbot, and enter the token and ID you've just gathered. Use the ID for both the user and admin ID fields, this makes sure that only you can interact with the Telegram bot. Alternatively, you can set a comma separated list for Admin ID, specifying multiple IDs who may interact with the bot.
  • Start a chat with the username you've picked for your bot, and hit the start button. If you don't see a start button, write "/start" and send it as message.
  • To enable trade notifications, enable these in the settings menu inside the Telegram bot.
  • The Telegram bot is fully integrated into Gunbot. All you need to do to start the Telegram bot is enable Telegram notifications in your Gunbot settings.
  • After setting it up, type /start to your bot to open the menu.

Overview of Gunbot Licenses

Note: You will need to have at lease "Gunbot Standard" to support all strategies, and I strongly recommend it. If you want to trade on multiple exchanges use "Gunbot Pro" (3 API Slots) or "Gunbot Ultimate (5 API Slots)

Gunbot License differences
Gunbot License differences - click to purchase a "Gunbot Standard License" or pick other licenses from above

How does the autoconfig work?

The idea is to have a fully automated setup for BTC-alt trading that trades relatively frequently (in tests, about 10 times per day) and only focusses on small trades with around 0.5% to 2% profit per trade.

image

The setup consists of a config.js and autoconfig.json file, which do the following (summarized):

Autoconfig.json

  • Adds & removes pairs, mainly based on their direction in the past 12h
  • Disables buying on all pairs when USDT-BTC is moving up or down more than average in the last hour
  • Changes some settings based on the DCA phase: when DCA started it increases the buydown for the second DCA order, the strategy sell criteria are set to a minimal 0.1% gain once DCA is completed.

Config.js

  • Contains only one preconfigured trading strategy, based on buy trailing and stochrsi selling. It's very basic but does its job.

Donations are always welcome

🍺 Please support me: If the above helped you in any way, then follow me on Twitter or send me some coins:

(BTC)    36nBgsAhBBzkTvJMut851XVj47bUrdsmQx
(ETH)    0xE572b3B1187a3Ab77D72f7d6AeCd18DF26306cfC
(BAT)    0x48c65D6f768D92d4a23E4e9d25329E7De67c14d9
(LTC)    M8TNsiQWe591HTkDtLubZeftbejfPMcoUy
(Ripple) rw2ciyaNshpHe7bCHo4bRWq6pqqynnWKQg (Tag: 2478959347)
(XLM)    GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37 (Memo ID: 909493707)

Sign up to Cointracking which uses APIs to connect to all exchanges and helps you with tax. Use Binance Exchange to trade #altcoins. Join TradingView to get trend-reports. Sign up with Coinbase and instantly get $10 in BTC. I also accept old-school PayPal.

If you have no crypto, follow me at least on Twitter.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published