Giter VIP home page Giter VIP logo

Comments (2)

tony-ho avatar tony-ho commented on September 24, 2024

@crlsnr v2.0.0 introduced a change to set the default limit for stop limit orders to emulate stop market orders.

If specific buy/sell limit prices aren't specified with the -l or -B/-E options respectively, the tool calculates limits as follows:

  • Buy limit set to maximum allowed by available balance and Binance PERCENT_PRICE trading rule
  • Sell limit set to minimum allowed by Binance MIN_NOTIONAL and PERCENT_PRICE trading rules

For further details, see the Binance Trading Rules here: https://support.binance.com/hc/en-us/articles/115000594711-Trading-Rule

Note: Binance will still fill your orders at the best price available, but orders may show a much lower sell or much higher buy price.

Previously, limit prices on stop-limit orders were set to the stop price by default. This created a risk of orders not being filled if the price skipped past the limit price quickly.

To make the tool behave as it did prior to v2.0.0, set the -l or -B/-E options to the same value as the -s and -b/-e options respectively.

The exchange rejecting the order sounds like unexpected behaviour. Can you provide details of the command line options you used and the log output so that I can investigate?

from binance-oco.

tony-ho avatar tony-ho commented on September 24, 2024

Closing as default limit prices are as designed.

The issue with rejected stop orders should be addressed in v2.2.0.

from binance-oco.

Related Issues (17)

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.