Gunbot (automated cryptocurrency trading)


5 posts in this topic Last Reply

Recommended Posts

Hello all, 

 

If like me you like to trade cryptocurrency and want to utilise your UNRAID server, whilst at the same time wanting to know what is inside the container due to the nature of crypto trading, then I hope this guide helps. 

 

I wanted to have Gunbot run in a Docker for ease and simplicity and so with the latest release, I have got it up and running via the following;

 

Prerequisites

*Download the latest build from; https://codeload.github.com/GuntharDeNiro/BTCT/https://github.com/GuntharDeNiro/BTCT/releases/download/2100/lin_v14.zip

 

 

Build the Docker Image;

1) Create a Dockerfile containing the following;

FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y curl unzip
#RUN curl -o  gunbot.zip https://codeload.github.com/GuntharDeNiro/BTCT/tar.gz/2100
ADD lin_v14.zip .
RUN unzip lin_v14.zip

WORKDIR lin_v14
RUN chmod +x gunthy-linux
ENTRYPOINT ["./gunthy-linux"]

 

2) Place both the downloaded file (lin_v14.zip) and the Dockerfile into the same folder. 

 

3) Via Terminal, navigate to the folder were the above two files are located and run the following command to build;

docker build -t gunbot .

 

4) Lastly, run the following command to start the container;

docker run -d -p 5000:5000 --name gunbot gunbot

 

That's it! With a bit of luck you will now have your own Gunbot docker instance running. 

 

Hope this helps as much as it did for me learning how to run it. 

 

Any suggestions and/or recommendations, are gladly welcome, this is my first attempt at anything like this. 

 

Regards.

Edited by LoneTraveler
Link to post

Hey LoneTraveler,

 

I really appreciate you taking the time to post this, as it's exactly what I am looking for. Discouragingly, I'm stuck at the very first step and my hour of searching has proven fruitless. Are you able to elaborate on how you built the docker file? Did you use Unraid's docker GUI or simply create a text file, and if so, was that file a .txt file?

 

Thanks for the help

Link to post
Posted (edited)

Hi, 

 

I'm glad I could be of some assistance. 

 

I used DroidEdit on Android (but I'm sure any text editor will do) and created the aforementioned Dockerfile with no extension;

 

20210106_174217.jpg

 

I'll attach mine if it helps. 

 

Regards. 

Dockerfile

Edited by LoneTraveler
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.