Code Monkey home page Code Monkey logo

Comments (1)

cowwoc avatar cowwoc commented on August 16, 2024 1

Per Stefan in Telegram:

You are confusing orderId and clientOrderId in that issue quite a bit, clientOrderId should be unique per account and per pair AFAIK.
The rest of your question is mostly answered by using a userData stream, as you will see an event for the new order there.
How you want to handle that on your end is obviously up to you.

Gili

Okay so there is no way to do this without using websockets?
And I assume that even websockets could fail to send in cases that cause this kind of unknown error.

Stefan

you can always call the openOrders endpoint to verify if the order is in order book when you get that error that would be an non websocket solution

Gili

Perfect. Thank you. Is there an equivalent for recently-closed orders in case the order gets filled very quickly?

Stefan

there is an allOrders endpoint which contains open/canceled/filled info

Gili

Okay, finally, does QUERY ORDER return the equivalent of ACK FULL for creating new order? Or is there no way to get the equivalent of ACK FULL aside from rebuilding it manually using the aforementioned techniques?

Stefan

unfortunately it doesn't, you will have to rebuild filling info through myTrades endpoint

from binance-java-api.

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.