Code Monkey home page Code Monkey logo

Comments (2)

mokolotron avatar mokolotron commented on June 5, 2024 1

Most likely, there are problems in the ratio of balances on master and slave accounts.
For example, an order of about ~ $ 100 was created on the master, and the free balance of USDT was ~ $ 6500. Then it turns out that the master created an order for ~ 1.5%. Then the slave calculates its size from ~ 1.5% and the maximimum of his own free USDT balance. The problem is that the maximum available balance on the slave = $ 123 This means that 1.5% of 123$ is 1.85$, which is less than the minimum order for binance.

Probably, to eliminate this problem in the project, you need to add the condition that if the order is less than the minimum value, then place an order with the minimum value.

Or if you want to solve the problem now, then bind accounts only with approximately the same balances.

If I was mistaken, both the master and slave accounts already had approximately the same amount of USDT, please then let me know.

from crypto-copy-trader.

alexandrebouttier avatar alexandrebouttier commented on June 5, 2024

Thank you for your answer, to get around the problem the master has a lower sum than the slaves, then why not put an allocation variable to calculate in% the balance allocated for the slaves

from crypto-copy-trader.

Related Issues (20)

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.