exchange user id for the user is invalid

anneraghu
exchange user id for the user is invalid , I am getting this error and order getting rejected... Nifty order..

Any ideas why is this happening to only me ?
  • sujith
    Hi @anneraghu,
    There was an issue at OMS today. It should be fine now.
  • anneraghu
    @sujith Thanks,
    What is this error mean "16388 : Unmatched orders cancelled by the system" ?
  • sujith
    I think this is a status message of the IOC order wherein it will either execute immediately if there is any match(seller at the same price) or it gets canceled.
  • sujith
    Please post new queries in the new thread as it might help others who are looking for the same.
  • vineet_dhandhania
    @anneraghu , @sujith

    Regarding "16388 : Unmatched orders cancelled by the system" -

    Understand that this is for IOC orders. Is it an exception thrown by kite.place_order() or is it received by the on_order_update() callback? Or somewhere else?

    If it is received by the callback, then what is the order status in the postback message? Is it "CANCEL" / "UPDATE" / "COMPLETE" / "REJECTED"?

    Thanks!
  • sujith
    The order will be canceled and you will receive an order update for this.
    But place order will return 200 response with order id.
  • vineet_dhandhania
    Sorry, I've to ask for more details as I can't test it myself.

    Say I place an order for 100 shares with validity=IOC. What will be the postback status (CANCEL / UPDATE / COMPLETE / REJECTED) in the following 3 cases?
    Case 1: 40 got filled, remaining 60 got cancelled.
    Case 2: All 100 got filled.
    Case 3: 0 filled, all cancelled.

    Thanks!
  • sujith
    You can follow up here.
This discussion has been closed.