Avoid partial quantity order execution

vijayonkite
Is there any way to ensure if the order is executed, it is executed for full quantity otherwise cancelled ? It should not get executed for partial quantity. There is an IOC (Immediate or Cancel) option but that does not ensure full quantity execution. Sometimes it executes partial quantity and gets cancelled.
  • vijayonkite
    Sometimes it executes partial quantity and gets cancelled. = Sometimes it executes partial quantity and gets into the state "cancelled - partial"
  • salim_chisty
    Kite Connect API does not provide a native 'All-or-Nothing' or 'Fill-or-Kill' order type that guarantees full-quantity execution. Even when using IOC (Immediate-or-Cancel), the exchange may partially execute the order and cancel the remaining quantity. You may refer to the similar discussion here.
  • sujith
    In order to increase the odds of fill, I would suggest check the first two or three bids or offers and place a limit order with price higher than LTP for buy and price lower than LTP for sell.
    You may also place a market order which will ensure execution but trade price might vary by a large margin. You need to try all scenarios and check what fits your usecase.
  • Matti
    @vijayonkite this isn't possible. When you send an order for n quantity, the exchange order matching system necessarily fills any available n-x quantities.
Sign In or Register to comment.