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.
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"?
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.
There was an issue at OMS today. It should be fine now.
What is this error mean "16388 : Unmatched orders cancelled by the system" ?
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 theon_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!
But place order will return 200 response with order id.
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!