diff --git a/Dockerfile b/Dockerfile index bafc315..18e0bf3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,10 @@ FROM debian:latest -RUN apt-get update \ - && apt-get install -y npm node-commander git \ - && git clone https://github.com/binance/binance-cli \ - && cd binance-cli \ - && npm install @binance/connector \ - && npm install -g \ - && ln -s /usr/local/lib/node_modules/\@binance/ /usr/lib/nodejs/ +RUN apt-get update && \ + apt-get -y install curl && \ + curl https://gitea.ds9.dedyn.io/olli/debian.ansible.docker/raw/branch/main/build-debian-env.sh >build-debian-env.sh && \ + bash -ex build-debian-env.sh && \ + cd / && \ + git clone https://gitea.ds9.dedyn.io/olli/dabo.git && \ + chmod 555 /dabo/dabo-bot.sh /dabo/analyze.sh ENV LANG en_US.utf8 -COPY ./docker-entrypoint.sh / -ENTRYPOINT ["/docker-entrypoint.sh"] - +ENTRYPOINT ["/dabo/bot.sh"] diff --git a/README.md b/README.md index 375dbe6..3f581a1 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,14 @@ This is a private project, which is based on amateur knowledge. Trading cryptocu It is strongly recommended to deal intensively with the subject and this bot before using it. Also, when using the possibility should be considered that due to an unfavorable market development, technical errors, bugs or other reasons, the entire invested capital can be lost. This software should therefore only be used if it is justifiable to lose the entire invested capital! # Objective -The bot is intended to help make and execute timely buy and sell decisions automatically in the fast-paced crypto environment. It is to be invested in the case of larger increases in value and investments are to be sold again when the prices fall, so that price gains are taken and losses are minimized. +The dabo-bot is intended to help make and execute timely buy and sell decisions automatically in the fast-paced crypto environment. It is to be invested in the case of larger increases in value and investments are to be sold again when the prices fall, so that price gains are taken and losses are minimized. + +# Naming +The name Dabo comes from the Star Trek universe. +Dabo was a roulette-style game of chance developed by the Ferengi. +More information here: +https://memory-alpha.fandom.com/wiki/Dabo +I thought this fits quite well to the cryptotrading world and that's why i chose this name ;-) # Features ## General: @@ -38,19 +45,19 @@ Linux knowledge required! Download: ``` -git clone https://gitea.ds9.dedyn.io/olli/Cryptocurrencies.git -cd Cryptocurrencies +git clone https://gitea.ds9.dedyn.io/olli/dabo.git +cd dabo ``` bot.sh is the bot that trades and collects the quotes and analyze.sh is the tool with which you can try out strategies with the historical data. The configuration files are called bot.conf and analyze.conf. analyze.sh also uses bot.conf but its variables are overwritten by analyze.conf if duplicated. -A Binance account must exist and the API must be enabled. +A Binance or Bitpanda account must exist and the API must be enabled. The access data is stored in the file .binance-secrets in the project directory in the variables API_SECRET and API_KEY. The access rights to this file should be set to the minimum necessary for security reasons. # Future ideas/featrues - Crypto preferences (While/Blacklist for certain currencies) - Overview trades/profits/losses for tax declaration -- Support for additional exchanges (currently only Binance) - Support for decentralized exchanges like uniswap to gain more "security" - +- mutliple trading strategies +- run in a docker container