Giter VIP home page Giter VIP logo

Comments (3)

hippocritical avatar hippocritical commented on August 22, 2024 1

1st : create a file wait.sh in the same folder as your docker-compose file with this content:

#!/bin/bash

[ "$SLEEP" ] && sleep $SLEEP

freqtrade $@

2nd: add that to your docker-compose file for every container, specify the wait timer you wish and refer to your now-incoming Dockerfile for the freqtrade container itself, not for the proxy (your Dockerfile name / location might vary, just adapt ...):

freqtrade1:
environment:
SLEEP: "1"
build:
context: .
dockerfile: "Dockerfile"

3rd: refer to your Dockerfile in the docker-compose.yml and put in something like this:

FROM freqtradeorg/freqtrade:stable

USER root

RUN pip install pandas_ta

COPY wait.sh wait.sh
RUN chmod +x wait.sh

USER ftuser

ENTRYPOINT ["/bin/bash", "./wait.sh"]

from binance-proxy.

hippocritical avatar hippocritical commented on August 22, 2024

this proxy does not fully proxy everything

if you start 4 bots at once then it will bypass the volume queries 4x (volumepairlist) and hence IP ban you.

you will have to delay the startups of your bots for that. dont ever start more than 2 bots within the same minute to be safe.
I went to the 1m / bot approach even to never ever have issues then.

from binance-proxy.

feydreva avatar feydreva commented on August 22, 2024

how can I add a delay in between my service on my docker compose file ? is there a way to put a 2 min delay before it starts the next one ?

Also it is strange it only "bug" after 10 days and not at the start.

from binance-proxy.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.