Giter VIP home page Giter VIP logo

Comments (3)

DominicFrei avatar DominicFrei commented on September 24, 2024

IOC means instant or cancelled. So, I'd assume, it was not executed instantly and therefore cancelled and set up with a more recent price to get that fill.

from gateio-crypto-trading-bot-binance-announcements-new-coins.

 avatar commented on September 24, 2024

Is there any way to avoid cancellations? Sometimes I get to buy or sell at a very different price. I don't know if it could be more interesting to use Good till cancelled (GTC) or Fill or Kill (FOK) or any other option. I don't know which one is the option by default, but in the previous version, without time_in_force, the order is placed instantly.

from gateio-crypto-trading-bot-binance-announcements-new-coins.

busyuqboy avatar busyuqboy commented on September 24, 2024

The problem is the price is changing dramatically. The previous method used the default of open until cancelled mode.
You are correct that the order would immediately succeed. The problem is, you most likely didn't purchase anything. You just have an open order. And since the price is moving dramatically, you missed your opportunity.

Now, you have to issue issue a cancel order request and issue a new one.
That extra step of issuing a cancel to your open order (that didn't get filled), is a waste of time compared to the option of fill or cancel immediately (ioc mode).

I can't weigh in on the GTC or FOK options. I've never tried those.

from gateio-crypto-trading-bot-binance-announcements-new-coins.

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.